[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgraded testing and now gpg is not working



Op 05-11-16 om 03:55 schreef H.S.:
I upgraded my testing box last night and now my gpg decryption does not
work anymore.

Until a couple of months ago, gpg was gpg1. It's gpg2 now and you need to specify gpg1 explicitely if you want to use the 'classic' version. You may have to install the gnupg1 package first. This provides /usr/bin/gpg1 and I seem to remember it didn't get pulled in automatically on my testing machine.

gpg2 can't find your secret keys because it stores them elsewhere. For gpg1 they are in the secring.gpg file and gpg2 looks at the files in the private-keys-v1.d directory. If this directory does not exist inside your gnupg directory (probably ~/.gnupg), then the automatic migration failed somehow.

Regards,
Frank


Reply to: