go-ios
go-ios copied to clipboard
Replace fullsailor/pkcs7 with mozilla/pkcs7
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.