hi I have been trying to build rpm signed with my own key. but it keeps on giving me the error wrong pass phrase though i have typed the passphrase correctly first i created the gpg --gen-key gpg --list-keys <-- displays the key i have created created /home/mohan/.rpmmacros %_signature gpg %_gpg_path /home/mohan/.gnugp %_gpg_name 9E9CC9A5 %_gpgbin /usr/bin/gpg exported the pubkey.asc rpm --import pubkey.asc rpmbuild --sign -ta nagios-plugin.tar.gz it asks for pass phrase eventhough i give the right passphrase its failing. any comments would be welcome.
I did try rpmbuild --sign -ta *.tar.gz rpm --addsign *.rpm rpm --resign *.rpm I dont have a clue whats happening. but the rpm build process working fine, i did add an option of --target=i686 it works perfectly its just the rpm signing process i have gnupg installed and i use fedora core 8. Also the passphrase works fine when i edit the key gpg --edit-key KEYID i was able to set a different passphrase and save it. Its the same case with two accounts (root and mohan)