-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC5084: AES_GCM #278
Comments
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
asn1crypto includes various OIDs that relate to AES-GCM, though? Not sure what you mean. Just in case it wasn't clear: asn1crypto doesn't actually implement any cryptography as such, it's a library to help encode/decode ASN.1 values that are commonly used in cryptographic applications. The cryptographic operations themselves are left to other libraries (e.g. pyca's |
Sorry, I should have been more precise. I was talking about asn1crypto/asn1crypto/algos.py Line 792 in b763a75
From RFC5084 there is only Would you be interested in a pull request, in case that I decide to add the missing bits? Not sure yet, how I will continue, but this might be the easiest path for me. |
@weddige - I'm also running into this right now. In addition, there aren't any tests / examples I can find in the repo on how I would then use something like |
I managed to get this working by defining something like the following in my class and then inserting it for
|
Re: the question about PRs: I'm not the maintainer of this library, but I suppose nobody would object to a PR adding those types :) By the way, I use some variant of that monkeypatching trick all the time to add ASN.1 definitions that are not part of the library. It's quite useful, and usually not too bad as far as hacks go... |
In the end, I decided to not use AES_GCM, as another application wasn't supporting it as well. So no PR from me anytime soon. But I still think it would be great to have GCM included by default. |
As far as I can see, AES_GCM is not supported by asn1crypto. Was this a conscious decision, or is this an open TODO?
The text was updated successfully, but these errors were encountered: