- fix: update pyopenssl version to resovle pyca/cryptography#7959
- fix: update the black version to fix github ci pipeline
- feat: added partner setting to force canonicalize binary
- fix: freeze the version of pyflakes to resolve klen/pylama#224
- feat: update the versions of oscrypt and asn1crypto
- fix: Use SMIMECapabilites from asn1crypto instead of the custom class (needed due to asn1crypto upgrade)
- fix: freezing pylama version to avoid breaking changes
- feat: option to pass custom domain for AS2 message-id generation
- Handle the case where non utf-8 characters are present in the certificate
- Add support for python 3.10
- Move to GitHub actions for running automated tests
- Fix broken tests due to expired certs (#39)
- Preserve content headers on enveloped data (#36)
- When address-type is not specified, only use provided value (#34)
- Normalize digest algorithm to make it more compatible (#32)
- Update the versions of asn1crypto, oscrypto and pyOpenSSL
- Use
signature_algo
attribute when detecting the signature algorithm - Raise exception when unknown
digest_alg
is passed to the sign function - Add proper support for handling binary messages
- Look for
Final-Recipient
ifOriginal-Recipient
is not present in the MDN - Remove support for python 3.6
- Fix linting and change the linter to pylava
- Use correct format for setting dataclasses requirement for python 3.6
- Fix and update the SMIME capabilities in the Signed attributes of a signature
- Update the versions of crypto dependencies and related changes
- Use black and pylama as code formatter and linter
- Increase test coverage and add support for python 3.8
- Handle MDNNotfound correctly when parsing an mdn
- Handle exceptions raised when parsing signed attributes in a signature abhishek-ram/django-pyas2#13
- Add more debug logs during build and parse
- Catch errors in MDN parsing and handle accordingly
- Use f-strings for string formatting.
- Use HTTP email policy for flattening email messages.
- Add proper support for other encryption algos.
- Use dataclasses for organization and partner.
- Remove support for python 3.5.
- Add utility function for extracting info from certificates.
- Remove leftover print statement.
- Add utility for extracting public certificate information.
- Handle cases where compression is done before signing.
- Add support for additional encryption algorithms.
- Use binary encoding for encryption and signatures.
- Look for
application/x-pkcs7-signature
when verifying signatures. - Remove support for Python 2.
- Remove unnecessary conversions to bytes.
- Fix an issue with message decompression.
- Add optional callback for checking duplicate messages in parse
- Add test cases for decompression and duplicate errors
- Check for incorrect passphrase when loading the private key.
- Change field name from
as2_id
toas2_name
in org and partner - Change name of class from
MDN
toMdn
- Fix couple of validation issues when loading partner
- Return the traceback along with the exception when parsing messages
- Fix the mechanism for loading and validation partner certs
- Initial release.