Skip to content

Instantly share code, notes, and snippets.

@aheissenberger
Created September 23, 2019 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aheissenberger/3b3d73d59001bcceb2a54ef78cf1adb2 to your computer and use it in GitHub Desktop.
Save aheissenberger/3b3d73d59001bcceb2a54ef78cf1adb2 to your computer and use it in GitHub Desktop.
Mac OS / retrieve key chain note
security find-generic-password -a $USER -C note -s name-of-a-note -w | xxd -r -p -
# when input includes new lines - content is returned as hex and needs to be converted with "xxd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment