go-ios icon indicating copy to clipboard operation
go-ios copied to clipboard

Replace fullsailor/pkcs7 with mozilla/pkcs7

Open renini opened this issue 1 year ago • 0 comments

This fixes error: Pairing failed: err="pkcs7: cannot decrypt data: only RSA, DES, DES-EDE3, AES-256-CBC and AES-128-GCM supported"

While using an elliptic curve certificate for pairing.

The old (2019) fullsailer/pkcs7 seems abandoned, mozilla forked it. This version also has support for elliptic curves:

OIDEncryptionAlgorithmECDSAP256 OIDEncryptionAlgorithmECDSAP384 OIDEncryptionAlgorithmECDSAP521

Besides RSA and DES.

renini avatar Apr 02 '24 18:04 renini