Skip to content

Instantly share code, notes, and snippets.

@mwmitchell
Created August 14, 2012 20:59
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 mwmitchell/3352990 to your computer and use it in GitHub Desktop.
Save mwmitchell/3352990 to your computer and use it in GitHub Desktop.
gpg lein credentials
foobar:apij mmitchell$ gpg --version
gpg (GnuPG) 1.4.12
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
foobar:apij mmitchell$ gpg --default-recipient-self -e ~/.lein/credentials.clj
You did not specify a user ID. (you may use "-r")
Current recipients:
Enter the user ID. End with an empty line:
gpg: no valid addressees
gpg: /Users/mmitchell/.lein/credentials.clj: encryption failed: no such user id
foobar:apij mmitchell$ gpg -r --default-recipient-self -e ~/.lein/credentials.clj
gpg: --default-recipient-self: skipped: public key not found
gpg: /Users/mmitchell/.lein/credentials.clj: encryption failed: public key not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment