diff options
| author | Hyun Kim <hyun@balancehero.com> | 2026-03-16 00:36:25 +0700 |
|---|---|---|
| committer | Hyun Kim <hyun@balancehero.com> | 2026-03-16 00:36:25 +0700 |
| commit | 8cb3045e37b1ee5825caa4c919cd851a36c17d5c (patch) | |
| tree | 4cd49768c538c50867f7144d3bafd3ca4b2cb343 | |
| parent | 85e50f4742cc450b0a5bdbac69d25493712dadae (diff) | |
update
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,8 +38,14 @@ swiftc -o keychain-fingerprint main.swift -framework LocalAuthentication -framew # Install (optional) sudo cp keychain-fingerprint /usr/local/bin/ + +# IMPORTANT: Set root ownership (security) +sudo chown root:wheel keychain-fingerprint +sudo chmod 755 keychain-fingerprint ``` +> ⚠️ **Security Note**: The binary must be owned by root with execute-only permission for regular users. This prevents malicious code injection into a tool that accesses Keychain. + ## Usage ```bash |
