Skip to content

Signature not verified when signing using an OpenPGP card #2688

Description

@dingwen07

When using FairEmail or K-9 Mail to create a signed (signed and encrypted or signed only) e-mail, the signature of the e-mail cannot be verified on the mail clients using OpenPGP.js (Thunderbird 78, ProtonMail, Mailvelop tested). This is not a problem with OpenPGP.js, because signed emails sent via GpgOL can be verified on OpenPGP.js. Moreover, if the OpenPGP card is not used when signing, the problem will not arise.

Expected Behavior

The signature is verified on all clients

Current Behavior

Signature created using OpenPGP card is not verified on OpenPGP.js based clients

Steps to Reproduce (for bugs)

  1. Generate a PGP key pair
  2. Import it into an OpenPGP card
  3. Send a signed e-mail from FairEmail or K-9 Mail using the key on the OpenPGP card
  4. Open Thunderbird to receive the message, the signature could not be verified, with the error message "Invalid Digital Signature"
  5. Import the private key of the PGP key into OpenKeychain
  6. Send a signed e-mail from FairEmail or K-9 Mail again, this time with private key stored in OpenKeychain
  7. Open Thunderbird to receive the message, the signature could be verified

Context

Your Environment

  • Android Version: 11
  • Device Model: SM-G9750, Xiaomi M2007J3SC
  • OpenKeychain Version: 5.7.3
  • From Google Play or F-Droid?: Google Play

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions