Unable to Sign RPM Packages
David Shaw
dshaw at jabberwocky.com
Thu Feb 24 23:16:56 CET 2005
On Tue, Feb 22, 2005 at 10:08:37AM -0600, Joseph D. Wagner wrote:
> I posted this a few days ago, but I didn't get any response.
>
> ---------------------------------------------------------------------------
>
> While attempting to sign an RPM package I created using the command:
>
> rpm --addsign _packagename_
>
> I got an error message saying the pass phrase is invalid.
>
> I deleted the contents of the ~/.gnupg directory, which should have completely deleted the key. I generated a new key using the command:
>
> gpg --gen-key
>
> and entered "123" as the passphrase.
>
> No effect. I still get an error message that tells me the pass
> phrase is wrong. I know I'm typing "123" correctly, so what else
> could be set incorrectly that would give me this error message?
>
> ~/.rpmmacros is as follows:
>
> %_signature gpg
> %_gpg_path /home/joseph/.gnupg
> %_gpg_name Joseph D. Wagner (For Use with Fedora Core 3) <email at address>
Do things work properly without rpm calling gpg for you? That is, can
you sign any old file 'gpg --sign foo' ?
If so, then you need to ask the rpm folks for help, since gpg is
working properly.
David
More information about the Gnupg-users
mailing list