This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # build-sk-libfido2.sh | |
| # | |
| # Builds the OpenSSH FIDO2 security key provider (sk-libfido2.dylib) from | |
| # openssh-portable source for use with macOS's built-in SSH client. | |
| # | |
| # macOS ships OpenSSH with FIDO2 support compiled in, but without the | |
| # middleware library that talks to hardware keys. This script builds it, | |
| # statically linking libfido2/libcbor/libcrypto so there are no Homebrew | |
| # runtime dependencies. Build tools are removed afterward. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # No Copyright, product of Gemini under prompting by Andrew Jorgensen | |
| # No promises the math and science are right either | |
| import cv2 | |
| import numpy as np | |
| from PIL import Image | |
| from PIL.ExifTags import TAGS | |
| def get_exif(path): | |
| img = Image.open(path) | |
| exif = img._getexif() |
OlderNewer