|gpg hates me now
||[Sep. 21st, 2006|07:15 pm]
I went to hack on brackup after a long break, and it bitches at me now. Or rather, gpg does:
sammy:trunk $ ./brackup --from=brackup --to=amazon \
gpg: 92FDF929: There is no assurance this key belongs to the named user
pub 4096g/92FDF929 2006-03-20 Brad Fitzpatrick <email@example.com>
Primary key fingerprint: E5C8 295F D1AB 7DE1 C5DF 7F68 FB52 E360 5E1B 3EC5
Subkey fingerprint: B269 19C9 1BAD 3458 7B9A B888 B9C6 667B 92FD F929
It is NOT certain that the key belongs to the person named
in the user ID. If you *really* know what you are doing,
you may answer the next question with yes.
Use this key anyway? (y/N)
That's new. I must've upgraded.
Where's the --just-do-what-i-fucking-say option?
"--recipient", $gpg_rcpt, "--encrypt", "--output=$etmpfn", "--yes", $tmpfn)
and die "Failed to run gpg: $!\n";
Note the --yes. Apparently that means --unless-you-feel-bitchy-in-this-new-version.
Context switch time. No love for Brackup because gpg is full of hate.
Okay, and ... for that, I just do gpg -e -r <my keyID>, and I don't get whining. I do also have "encrypt-to <my keyID>" in ~/gnupg/gpg.conf (so that I encrypt outgoing email to both me and the recipient by default, so I can read it later). I get whining that my key ID is already on the list, but it's non-fatal. It's possible that they've just changed the behavior... but the fact that the error output says that your trying to encipher to an untrusted key suggests to me that you've somehow dropped session awareness and are, for instance, using a functionally blank keychain in which your key's really not trusted.
If you're doing that on purpose... ie, doing this somewhere without your Real keychain (including, ie, self-sigs), then you really Should move your keychain over, and the encryption won't break. That'd be a "but that's how it's supposed to work" problem.
If you did that, and this is whinging at you despite it, then something's broke, but I'd be glad to take a few sober (hey, it's Saturday night, and I was working until ten minutes ago) moments to figure out what.