~mcepl/m2crypto#318: 
EC certificates not working for encrypt

Migrated from: https://gitlab.com/m2crypto/m2crypto/-/issues/318
Created by: Tomáš Uko (@tomas.uko)
Created at: 2022-06-17T12:40:45.017Z

Hello,

I've followed DOCs [1] about how to encrypt message with certificates, when I use EC certificate (see below). I get following error: encryption not supported for this key type

Click to expand # openssl x509 -in /tmp/cert -text -noout Certificate: Data: Version: 3 (0x2) Serial Number: 50:c7:7e:79:04:0e:7b:f2:69:39:57:d8:c4:de:46:ea:79:f1:16:ee Signature Algorithm: ecdsa-with-SHA512

Can someone please help me with this? I have installed: M2Crypto v 0.38.0, SWIG Version 4.0.2 on Arch Linux

[1] https://m2crypto.readthedocs.io/en/latest/howto.smime.html#encrypt

Status
REPORTED
Submitter
~mcepl
Assigned to
No-one
Submitted
7 months ago
Updated
7 months ago
Labels
No labels applied.

~mcepl 7 months ago

Changed on 2022-06-17T12:41:44.149Z by Tomáš Uko:

changed the description

(Last edited at 2022-06-17T12:41:44.151Z.)

Register here or Log in to comment, or comment via email.