On Freitag, 27. November 2020 23:52:27 CET cqcallaw via Gnupg-users wrote:
> I can sign and verify a test file through `gpg` without issue, but verifying
> the signature through OpenGPG.js fails with the error, "Message digest did
> not match." Why is this?

Could be a problem with text mode vs. non-text mode. By default, gpg uses non-
text mode when signing something. Try adding --textmode to gpg's command line.

> let msg = await openpgp.cleartext.fromText(msg_data);

This is just a wild guess, but fromText() could imply text mode in OpenPGP.js.

Regards,
Ingo

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to