Menu

The configured key ID "0x9A3CF831" cannot be found on your keyring.

Zippy
2017-05-26
2017-05-26
  • Zippy

    Zippy - 2017-05-26

    I am unable to force Enigmail to use my key. I have checked the key servers and I have one active key as shown below. But when I attempt to use Enigmail to send an encrypted mail I get the error above. This key is not my key and I have no idea where Enigmail is looking for this key. Key server content as below from my Mac OSX using:-

    gpg --list--keys

    .gnupg/pubring.gpg

    pub 2048D/00D026C4 2010-08-19 [expires: 2018-08-19]
    uid [ unknown] GPGTools Team team@gpgtools.org
    uid [ unknown] GPGMail Project Team (Official OpenPGP Key) gpgmail-devel@lists.gpgmail.org
    uid [ unknown] GPGTools Project Team (Official OpenPGP Key) gpgtools-org@lists.gpgtools.org
    uid [ unknown] [jpeg image of size 5871]
    sub 2048g/DBCBE671 2010-08-19 [expires: 2018-08-19]
    sub 4096R/0D9E43F5 2014-04-08 [expires: 2024-01-02]

    pub 4096R/369F26F3 2017-05-20 [expires: 2021-05-20]
    uid [ultimate] Martin Porter mrzippy348@gmail.com
    uid [ultimate] [jpeg image of size 5906]
    sub 4096R/38B49BFC 2017-05-20 [expires: 2021-05-20]

    pub 4096R/5FDC35A3 2015-12-29 [expires: 2019-12-29]
    uid [ unknown] Deepak Natarajan dnataraj@gmail.com
    sub 4096R/7C8B2908 2015-12-29 [expires: 2019-12-29]
    sub 4096R/F49B4DB9 2015-12-29 [expires: 2019-12-29]

    When I attempt to send a mail to dnataraj Engimail realizes his public key is in my keychain and automatically set the encruption on but when I try to send I get an error:-

    The configured key ID "0x9A3CF831" cannot be found on your keyring.

    It should be using my key 369F26F3 bit for some reason is trying to find a key 9A3CF831. I have no idea why this is or how to solve it. I tried uninstalling and reinstalling Enigmail but no use:-

    Versions: Mac OSX 10.12.5 (Mac osSierra).
    Thunderbird: 52.1.1
    Enimail: Running Enigmail version 1.9.6.1 (20161116-1713)

    Using gpg executable /usr/local/bin/gpg2 to encrypt and decrypt

    An extract from the log as below:-

    2017-05-26 11:28:41.309 [DEBUG] enigmailMsgComposeHelper.js: doValidKeysForAllRecipients(): return "0x04613B7C5FDC35A3"
    2017-05-26 11:28:41.309 [DEBUG] enigmailMsgComposeHelper.js: validKeysForAllRecipients(): return '0x04613B7C5FDC35A3'
    2017-05-26 11:28:41.309 [DEBUG] <=== validKeysForAllRecipients()
    2017-05-26 11:28:41.310 [DEBUG] enigmailMsgComposeOverlay.js: Enigmail.msg.encryptTestMessage(): call encryptMessage() for fromAddr="0x9A3CF831" toAddrStr="0x04613B7C5FDC35A3" bccAddrStr=""
    2017-05-26 11:28:41.310 [DEBUG] enigmail.js: Enigmail.encryptMessage: 12 bytes from 0x9A3CF831 to 0x04613B7C5FDC35A3 (354)
    2017-05-26 11:28:41.310 [DEBUG] encryption.jsm: encryptMessageStart: uiFlags=16, from 0x9A3CF831 to 0x04613B7C5FDC35A3, hashAlgorithm=null (00000162)
    2017-05-26 11:28:41.310 [DEBUG] encryption.jsm: determineOwnKeyUsability: sendFlags=354, sender=0x9A3CF831
    2017-05-26 11:28:41.310 [DEBUG] keyRing.jsm: getKeyById: 0x9A3CF831
    2017-05-26 11:28:41.310 [DEBUG] errorHandling.jsm: determineInvRcptReason: keySpec: 0x9A3CF831

    Please help I am unable to solve this....I hve GPG Keychain version 1.3.2 installed and this shows my correct key as does the list command above. The configrued key servers for Enigmail are:-

    hkps.pool.sks-keyservers.net, pool.sks-keyservers.net, keys.gnupg.net, pgp.mit.edu

    Regards
    Martin

     
  • Ludwig Hügelschäfer

    Hi Martin,

    you probably have configured Enigmail to use 0x9A3CF831 as your key for whatever reason. Please go to: Tools -> Account setting. Select "OpenPGP security" below your account. You should select "Use specific OpenPGP key ID:" Do you see 0x9A3CF831 or another key Id?

    Just to be safe: click on "Select key..." button and select your key pair.

     
    • Rob

      Rob - 2017-05-26

      you probably have configured Enigmail to use 0x9A3CF831 as your key
      for whatever reason. Please go to: Tools -> Account setting. Select
      "OpenPGP security" below your account. You should select "Use specific
      OpenPGP key ID:" Do you see 0x9A3CF831 or another key Id?

      Don't forget the possibility of having this set up in gpg.conf as well.
      Martin, if you don't see it in your Enigmail configuration, it's
      probably set up in GnuPG's configuration file. You can find it in
      $HOME/.gnupg/gpg.conf.

       
  • Zippy

    Zippy - 2017-05-26

    Hi Ludwig. Thank you very much. The incorrect key was being mnually set in Tools->Accounts->OpenPGP security settings. I guess it was because I created one with 2048 and then decided i wanted a 4096 so i created a new key and revoked the old one but Engimard must have preset the first one !. Now i know where to look and all working fine. Thanks for your help.

    Regards
    Martin

     

Log in to post a comment.