From 8cb3045e37b1ee5825caa4c919cd851a36c17d5c Mon Sep 17 00:00:00 2001 From: Hyun Kim Date: Mon, 16 Mar 2026 00:36:25 +0700 Subject: update --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 01750e2..5b1a044 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.3