You need a passphrase to unlock the secret key for
-
When I try to sign a file with GPG I get the following error:
"You need a passphrase to unlock the secret key for user: "USERID (DESCRIPTION) [email protected]
2048-bit RSA key, ID 01010101, created 2023-7-2"I looked this up and when you import keys you need to do the following:
GPG --edit-key 01010101GPG>trust
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menuYour decision? 5
I verified in the key that is has the ultimate level of trust as well as all subkeys, but it's still behaving in the same way. I killed the process and tried again with the same result. Any ideas?
-
@wirestyle22 I’ve never used a gpg key without a password/passphrase.
-
@JaredBusch I have a file that exports the username and password in the script, so I am using a password. Sadly this error just fixed itself with no changes and everything is working as intended now so I won't know what the root cause of this was. Thanks for replying though.