Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-02 | Upgrade python/asn1crypto to 1.0.0ndk-sysroot-r21 | Haibo Huang | |
Test: None Change-Id: Id976fdd7c170f3111e35c4a2cde69aba8715c243 | |||
2019-10-02 | Version 1.0.0 | wbond | |
2019-10-01 | Preserve the ability to pass core.Null() into ocsp.CertStatus() | wbond | |
2019-10-01 | Added ocsp.StatusGood() and ocsp.StatusUnknown() for ocsp.CerStatus().native | wbond | |
2019-10-01 | Allow X.509 certificates with improperly encoded DNSName and EmailAddress | wbond | |
2019-10-01 | Prevent UnboundLocalError on empty asn1crypto.x509.IPAddress() | wbond | |
2019-10-01 | Handle BER-encoded indefinite length values better | wbond | |
- Ensure when we have trailing EOC bytes to include them when dumping - If we know the encoding is indefinite length, re-encode using DER | |||
2019-09-28 | Add trailer info to .debug() output | wbond | |
2019-09-28 | When copying a BER-encoded indefinite-length value, force it to be DER-encoded | wbond | |
2019-09-27 | Restrict core.IntegerBitString() and core.IntegerOctetString() to positive ↵ | wbond | |
integers | |||
2019-09-27 | Merge pull request #148 from joernheissler/bit_string_parsing | Will Bond | |
Refactor BitString parsing | |||
2019-09-23 | Fix encoding of tag values over 30 | wbond | |
2019-09-23 | Fix passing class_ to core.Asn1Value(), add support for passing method | wbond | |
2019-09-21 | Add unused_bits property to BitString classes | Jörn Heissler | |
Encoded Bit Strings can have 0-7 unused bits in the rightmost byte. With DER encoding, those bits must be zero. But some encoders might put in other values. Sometimes this feature is abused (CVE-2014-8275). The added property allows to read those bits for debugging or for detecting such tampering. | |||
2019-09-21 | Refactor BitString parsing | Jörn Heissler | |
Closes: #147 | |||
2019-09-21 | Merge pull request #138 from space88man/rsassa_pss | Will Bond | |
keys.py: add RSASSA_PSS OIDs from RFC4055 | |||
2019-09-13 | Create asn1crypto_tests package, along with supporting tooling | wbond | |
Adds the following tasks: - python run.py build - python run.py version {pep440_version} Tests may now be executed a number of different ways and will automatically ensure the local copy of asn1crypto is used, if run from a Git working copy, or archive of a working copy. Versioning scheme switched from SemVer to PEP 440 since that is what the Python ecosystem tooling supports. | |||
2019-09-10 | Ensure keys.NamedCurve.register() works if setup() has been run or not | wbond | |
2019-08-21 | Fix ValueError in keys.NamedCurve.register() | wbond | |
If any NamedCurve object was created before calling register(), the _reverse_map would not be properly set for the custom value. | |||
2019-08-21 | Ensure EC private keys are encoded to the correct width, per RFC 5915 | wbond | |
2019-08-10 | Mark master as working towards 0.25.0 | wbond | |
2019-08-10 | Formatting tweaks | wbond | |
2019-08-08 | Add more allowed formats for UTCTime and GeneralizedTime | Jörn Heissler | |
Closes: #86 UTCTime and GeneralizedTime now support all time formats defined in sections 42 and 43 of X.680 and ISO 8601. In particular, add support for time zones and fractions. | |||
2019-08-08 | Refactor extended_date and extended_datetime | Jörn Heissler | |
Refactor extended_date and extended_datetime to enable full timezone support, required by #86. Those classes now delegate most method calls to a datetime or date object which has year 2000 substituted. Also fixes several corner cases and adds test cases. | |||
2019-08-08 | Improve timezone support | Jörn Heissler | |
To fix #86, timezone support with different utc offsets is required. - Implement py2 version of util.timezone - Add function create_timezone which caches timezone objects - Add utc_with_dst timezone object which can be used with datetime.astimezone - Add test cases | |||
2019-08-08 | Corner cases in int_to_bytes | Jörn Heissler | |
int_to_bytes(0, width=0) returns b'' in py3 but b'\x00' in py2. py2 implementation will now return b'' too. int_to_bytes(12345, width=1) raises OverflowError in py3 but not in py2. py2 will now also raise the Exception Also completed test coverage for int_to_bytes and int_from_bytes | |||
2019-08-01 | Tweak the names given to the Microsoft Authenticode OIDs | wbond | |
2019-08-01 | Merge pull request #135 from shuxin/patch-1 | Will Bond | |
support windows pe file nested sha256 signature | |||
2019-08-01 | Add parameters for rsaes_oaep in cms.KeyEncryptionAlgorithm | wbond | |
2019-08-01 | Update KeyEncryptionAlgorithmId OID mapping for 1.2.840.113549.1.1.1 | wbond | |
Was "rsa", is now "rsaes_pkcs1v15". Added custom _reverse_map to preserve ability to use "rsa". | |||
2019-08-01 | Merge pull request #111 from luckylud/pull-request-rsaes_oaep | Will Bond | |
Add rsaes_oaep to KeyEncryptionAlgorithmId | |||
2019-08-01 | Add encryption algorithm id for RC4 | wbond | |
2019-07-19 | Merge pull request #137 from dpward/master | wbond | |
2019-07-13 | Move functionality to derive public keys from private keys into oscrypto | wbond | |
- keys.PrivateKeyInfo().unwrap() is now oscrypto.asymmetric.PrivateKey().unwrap() - keys.PrivateKeyInfo().public_key is now oscrypto.asymmetric.PrivateKey().public_key.unwrap() - keys.PrivateKeyInfo().public_key_info is now oscrypto.asymmetric.PrivateKey().public_key.asn1 - keys.PrivateKeyInfo().fingerprint is now oscrypto.asymmetric.PrivateKey().fingerprint - keys.PublicKeyInfo().unwrap() is now oscrypto.asymmetric.PublicKey().unwrap() - keys.PublicKeyInfo().fingerprint is now oscrypto.asymmetric.PublicKey().fingerprint | |||
2019-04-29 | keys.py: add RSASSA_PSS to private key classes | spchan | |
2019-04-24 | keys.py: add RSASSA_PSS OIDs from RFC4055 | spchan | |
2019-04-22 | Fix missing return value from core.Choice.parse() used by core.Choice.chosen | David Ward | |
2019-04-17 | Merge commit '6060d29' into import | Kevin Cheng | |
This is 0.24.0. Also add in misc files (METADATA, LICENSE, etc). Bug: 122778810 Test: None Change-Id: I22fd12046f4218ba859e705c767bc95dd2a21fba | |||
2019-04-04 | support windows pe file nested sha256 signature | shuxin | |
now windows pe file are signed with both sha1 and sha256. | |||
2019-02-19 | Add type checks for sequence fields | wbond | |
2019-02-18 | Fix core.Choice().contents to work when the chosen alternative is a Choice also | wbond | |
2019-02-14 | Update keys.py | Jörn Heissler | |
2019-02-14 | Add secp256k1 to NamedCurves | nkostoulas | |
2018-10-03 | Merge pull request #116 from wiml/sha3 | Jörn Heissler | |
Add NIST OIDs for SHA-3 (and SHAKE) algorithms. | |||
2018-10-03 | Minor typo fix | Fred Rolland | |
2018-09-21 | Add NIST OIDs for SHA-3 (and SHAKE) algorithms. | Wim Lewis | |
2018-09-04 | Only normalize URIs when comparing | wbond | |
2018-08-07 | Add rsaes_oaep to KeyEncryptionAlgorithmId | Ludovic Watteaux | |
2018-07-06 | Fix a bug where parsing a broken core.Sequence or core.SequenceOf could ↵ | wbond | |
leave the object in a bad state | |||
2018-07-03 | Grammar fix | Jörn Heissler | |