Answer the question
In order to leave comments, you need to log in
Why can't he see the GPG key?
There is a GPG key that was imported into the container:
+ gpg --list-keys
/home/jenkins-slave/.gnupg/pubring.gpg
-------------------- ------------------
pub 4096R/353AE8AA 2020-07-13
uid Admin (Quantum Projects)
sub 4096R/BBDA9A3F 2020-07-13
But when I try to sign the rpm it doesn't see it . What are the possible reasons?
rpm --define " _gpg_name
Admin" --addsign $rpms
Enter pass phrase: gpg: skipped "Admin": No secret key
gpg: signing failed: No secret key
Answer the question
In order to leave comments, you need to log in
gpg --list-keys
pub 4096R/353AE8AA 2020-07-13
gpg --list-secret-keys
when trying to sign rpm it does not see it. What are the possible reasons?
gpg: signing failed: No secret key
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question