Envelope

Latest version: v2.0.5

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.0.4

- resilience against missing libmagic (useful on a contained environment)
- better SMTP retries 35
- better typing 31
- fix: attachment included while signing only (without sending)

2.0.3

- fix: loading headers not encoded with utf-8
- fix: better S/MIME detection 29
- drop Python 3.9 support
- SMTP HELO FQDN

2.0.2

- experimental [XARF](http://xarf.org/) reports reading
- disguised addresses parsing

2.0.1

- fix 24 stable locale
- allow `file-magic` instead of `python-magic` package be installed on the system (25)
- fix GPG signing when attaching file with name longer than 34 chars (19)

2.0.0

- CHANGED: `Envelope(sender=).sender()` alias REMOVED because to the unambiguous naming clash between the `From` and the `Sender` e-mail header. Use `Envelope().from_(...)` and `Envelope().header("Sender", ...)` instead. Pity that 'from' is a reserved keyword, "from_" looks bad.
- CHANGED: `Envelope.default` instance REMOVED because explicit is better than implicit. For setting defaults use `Envelope().copy()` instead
- CHANGED: explicitly specifying encryption keys prevents encrypting for other recipients
- GPG encryption for arbitrary keys only possible 9 14
- CHANGED: Optional parameter "email_or_list" renamed to "email_or_more" (methods `to` and friends)
- When setting recipients, apart from list other iterables (tuple, generator, set, ...) may be used
- fix: when signing key fails, do not sign with the default GPG private key
- S/MIME insecure Rand PRNG removed 18

1.5.4

Not secure
- disable validate_email module blacklist updater 17
- SMTP envelope MAIL FROM address 16
- SMTP exposes timeout 20 , attempts, delay
- SMTP re-connect on every error 21
- smtp.quit() exposed 5

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.