[Cryptography-dev] not_valid_before and not_valid_after as GeneralizedTime

2017-09-19 Thread Fellipe Theophilo
Hi everyone, I need to generate an attribute certificate according to Government's specification law about students identification card that must have not_valid_before and not_valid_after set in GeneralizedTime instead of UTCTime(datetime.datetime object). Is it possible to do it? Actually, I t

Re: [Cryptography-dev] not_valid_before and not_valid_after as GeneralizedTime

2017-09-19 Thread Paul Kehrer
Right now cryptography attempts to use the logic of RFC 5280 to automatically encode the type of the time. It appears that is insufficient for your needs. I've filed this as https://github.com/pyca/cryptography/issues/3927 -Paul Kehrer (reaperhulk) On September 19, 2017 at 8:15:11 PM, Fellipe T