github.com/StackExchange/blackbox/v2@v2.0.1-0.20220331193400-d84e904973ab/docs/gnupg-tips.md (about) 1 GnuPG tips 2 ========== 3 4 # Common error messages 5 6 * Message: `gpg: filename: skipped: No public key` 7 * Solution: Usually this means there is an item in 8 `.blackbox/blackbox-admins.txt` that is not the name of the key. 9 Either something invalid was inserted (like a filename instead of a 10 username) or a user has left the organization and their key was 11 removed from the keychain, but their name wasn't removed from the 12 blackbox-admins.txt file. 13 14 * Message: `gpg: decryption failed: No secret key` 15 * Solution: Usually means you forgot to re-encrypt the file with the new key. 16 17 * Message: `Error: can't re-encrypt because a key has expired.` 18 * Solution: A user's key has expired and can't be used to encrypt any more. Follow the [Replace expired keys](expired-keys.md) page. 19 20 FYI: Your repo may use `keyrings/live` instead of `.blackbox`. See "Where is the configuration stored?" 21 22 # GnuPG problems 23 24 Blackbox is just a front-end to GPG. If you get into a problem with a 25 key or file, you'll usually have better luck asking for advice on 26 the gnupg users mailing list TODO: Get link to this list 27 28 29 The author of Blackbox is not a GnuPG expert. He wrote Blackbox 30 because it was better than trying to remember GPG's horrible flag 31 names.