summaryrefslogtreecommitdiff
path: root/alot/crypto.py
Commit message (Collapse)AuthorAge
...
* fix maxlength issuePatrick Totzke2012-07-22
| | | | | | this uses a email.header.Header obj for attachments-parts Content-Disposition header to ensure their filename-parameters obey RFC2184
* fix regexPatrick Totzke2012-07-22
|
* fix issue with non-multipart messagesPatrick Totzke2012-07-22
| | | | | | | | | | msg.get_boundary will return None in those cases, so we cannot concatenate this with str untested. Also, Generator.flatten(msg) causes msg to generate a boundary string. So we don't need to call msg.as_string separately in case we get the boundary after flattening cf issue #469
* Fix PGP/MIME attachmentsMichael Stapelberg2012-07-22
| | | | | This actually is a workaround for a Python bug as mentioned in alot/crypto.py
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* switch from pyme to gpgmeMichael Stapelberg2012-05-21
|
* make CryptoContext.get_key fail if no key foundPatrick Totzke2012-05-13
| | | | | | this makes CryptoContext.get_key raise a GPGProblem exception in case no key could be found. It obsoletes otherwise necessary tests for its return value to be not None.
* move alot.db.errors GPGProblem to alot.errorsPatrick Totzke2012-05-13
| | | | | to prevent circular imports and for consistency: This Exception is not related to the database abstraction layer.
* lookup gpg key once during composePatrick Totzke2012-05-12
| | | | | | .. and not in reply/forward/editnew. This also obsoletes Envelope.apply_account_crypto_settings, which needed a reference to UI for error notifications.
* Make togglesign accept an optional keyid (like 4AC8EE1D) which will be used ↵Michael Stapelberg2012-05-04
| | | | for signing
* use sphinx markup for email_as_stringMichael Stapelberg2012-05-01
|
* remove custom passphrase cb, eliminate code duplicationMichael Stapelberg2012-04-23
|
* Implement signing outgoing messages (PoC)Michael Stapelberg2012-04-15