You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update my API that uses acmez to use crypto/ecdh instead of crypto/elliptic. See this issue for more information about the rationale for deprecating crypto/elliptic. And this comment:
// Direct use of this package is deprecated, beyond the P224(), P256(), P384(),
// and P521() values necessary to use the crypto/ecdsa package. Most other uses
// should migrate to the more efficient and safer crypto/ecdh package.
The problem is: it doesn't implement signer so I can't use it for my PrivateKey in my acme.Account struct:
I'm trying to update my API that uses acmez to use crypto/ecdh instead of
crypto/elliptic
. See this issue for more information about the rationale for deprecatingcrypto/elliptic
. And this comment:The problem is: it doesn't implement signer so I can't use it for my
PrivateKey
in myacme.Account
struct:Do you have any suggestions for this? Should I type alias it and implement
Signer
or something along those lines?The text was updated successfully, but these errors were encountered: