Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse public keys in PGP and S/MIME formats out of common mailbox types? #16

Open
nealmcb opened this issue Oct 17, 2017 · 1 comment
Open

Comments

@nealmcb
Copy link

nealmcb commented Oct 17, 2017

Is there a relatively clean way to parse a mail archive for public keys and feed that to roca-detect?

Archives might be in formats like mbox, maildir, mix, dbox, etc, and would have a variety of public key formats including -----BEGIN PGP PUBLIC KEY BLOCK----- embedded in message bodies, MIME attachments like application/pgp-keys, etc.

@ph4r05
Copy link
Member

ph4r05 commented Oct 18, 2017

For the online detector we use IMAP to handle mailboxes, reading email by email and all its attachments. But this part of the code is integrated in the system, not intended to run separately.

We don't plan to provide on-disk mailbox reading, but if community contributes I am happy to merge.

In this case it would be better to create a separate py file for that (which would use detect.py).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants