add a README entry for unlock_keychain
- ID
b95a5ef- date
2023-05-22 03:19:07+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
f959ccb- message
add a README entry for `unlock_keychain`- changed files
2 files, 17 additions
Changed files
macos/README.md (1870) → macos/README.md (2303)
diff --git a/macos/README.md b/macos/README.md
index 0650bdf..106e6db 100644
--- a/macos/README.md
+++ b/macos/README.md
@@ -68,4 +68,16 @@ They rely on Mac-specific stuff and are unlikely to be useful on non-Mac systems
<dd>
set the accent colour, as configured in the Appearance settings
</dd>
+
+ <dt>
+ <a href="https://github.com/alexwlchan/scripts/blob/main/macos/unlock_keychain">
+ <code>unlock_keychain</code>
+ </a>
+ </dt>
+ <dd>
+ alias for <code>security unlock-keychain ~/Library/Keychains/login.keychain</code>; unlocks the login keychain
+ <p>
+ The login keychain normally gets unlocked by the OS when you log into your account; this is for when I'm accessing a Mac over SSH.
+ </p>
+ </dd>
</dl>
macos/unlock_keychain (81) → macos/unlock_keychain (294)
diff --git a/macos/unlock_keychain b/macos/unlock_keychain
index eece50b..6268533 100755
--- a/macos/unlock_keychain
+++ b/macos/unlock_keychain
@@ -1,3 +1,8 @@
#!/usr/bin/env bash
+# Unlock my login keychain.
+#
+# The login keychain normally gets unlocked by the OS when you log
+# into your account; this is for when I'm accessing a Mac over SSH.
+# Note: this prompts for the keychain password.
security unlock-keychain ~/Library/Keychains/login.keychain