diff options
author | Ruben Pollan <meskio@sindominio.net> | 2016-07-06 15:35:24 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2016-07-06 15:35:24 +0200 |
commit | 2bf3ef57a1f2841116268010cd80984208725f45 (patch) | |
tree | 27384afc7f1094124169114f58c1960be396bdcd /memoryhole/__init__.py | |
parent | 7396398e81fda41d4cb2ea7ffbdfa8f02746cad8 (diff) |
[doc] document public methods
Diffstat (limited to 'memoryhole/__init__.py')
-rw-r--r-- | memoryhole/__init__.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/memoryhole/__init__.py b/memoryhole/__init__.py index 5cd55b6..fd621ea 100644 --- a/memoryhole/__init__.py +++ b/memoryhole/__init__.py @@ -8,6 +8,18 @@ OBSCURED_HEADERS = ('Subject', 'Message-ID', 'Date', 'To', 'From') def unwrap(msg, opengp=Gnupg()): + """ + Unwrap an email replacing and verifying memory hole headers. + + :param msg: the email to be unwrapped + :type msg: Message + :param openpgp: the implementation of openpgp to use for decryption and/or + verification + :type openpgp: OpenPGP + + :return: a dencrypted email + :rtype: Message + """ raise NotImplementedError() |