ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    You need a passphrase to unlock the secret key for

    IT Discussion
    gpg encryption
    2
    3
    643
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wirestyle22W
      wirestyle22
      last edited by wirestyle22

      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 01010101

      GPG>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 menu

      Your 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?

      JaredBuschJ 1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @wirestyle22
        last edited by JaredBusch

        @wirestyle22 I’ve never used a gpg key without a password/passphrase.

        wirestyle22W 1 Reply Last reply Reply Quote 1
        • wirestyle22W
          wirestyle22 @JaredBusch
          last edited by wirestyle22

          @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.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post