Coder Social home page Coder Social logo

openpgpkey-milter's People

Contributors

blechschmidt avatar danwin avatar edekeijzer avatar jboettge avatar letoams avatar ne20002 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openpgpkey-milter's Issues

Will there be a production version in the future?

I just managed to get this to work, after changing RRtype to 61 and removing base64 decoding of the keys.

My question, is this considered to be experimental only and forever, or will there be an update that can deal with multipart messages (especially, pgp signed messages delivered from an email client) and maybe dlv (I still need to use dlv.isc.org trust anchor...)?

I understand that real end-to-end encryption requires client side encryption, but I think this milter is interesting if the mail server is trusted (e.g. for companies).

Configuration file

Hi
I wondor of a simple configuration may be possible, two options come to mind

  • a list of domains or recipients to skip encryption for (so I can prevent the encryption of all local system mails to me) and
  • a flag to enforce / not enforce DNSSEC for the dns entry

Would that be possible?

Besides that, it works great. I love it.

Debian package dependency and spool directory issues

Hi,

First I want to say that I am by no means a packaging expert and just created my own Debian package by running debuild -us -uc inside the debian subdirectory of this repository. I installed the resulting package on my Raspbian installation and I noticed it was already running on localhost:8890, but after configuring postfix to use this inet socket (before DKIM) I noticed that only PGP signed or encrypted mails were passed, as indicated by the added X-openpgpkey: Message passed unmodified headers to my mails.

Plain messages were not encrypted and resulted in errors in my /var/log/mail.log:
Jul 9 15:51:55 heimdallur postfix/cleanup[11837]: D5AB81F37A: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.3.0 pymilter: untrapped exception in pythonfilter; from=<[email protected]> to=<[email protected]>

After inspection I noticed that openpgpkey-milter was missing the python-setproctitle dependency and was also missing its /var/spool/openpgpkey-milter spool directory. After I installed the dependency and created its spool directory mails were finally encrypted properly as shown below.
Jul 9 16:04:33 heimdallur openpgpkey-milter: Received DNSSEC secured OPENPGPKEY for [email protected]: Key-ID:394C398C531EFAB0 Fingerprint:2A9DF1D597A0539033C9B3EB394C398C531EFAB0 Jul 9 16:04:33 heimdallur openpgpkey-milter: Will encrypt message to fingerprints:2A9DF1D597A0539033C9B3EB394C398C531EFAB0

Could the dependency be added to the debian/control file, and the /var/spool/openpgpkey-milter be created after installation? That would really help. :-)

Super Encryption

If you receive a S/MIME encryptet message (SMIMEA) no PGP encryption should be used. I added the following lines after the "# ### TODO ADD SUPPORT FOR MIME / ATTACHMENTS ####" block

        # Protect against super-encryption
        if "application/octet-stream" in msg["Content-Type"] and \
            ".p7m" in msg["Content-Type"] or \
            "application/x-pkcs7-mime" in msg["Content-Type"] or \
            "application/pkcs7-mime" in msg["Content-Type"]:
            syslog('%s: Message already encrypted with S/MIME - letting it ')
            return Milter.CONTINUE

In my case it works and I can combine openpgpkey-milter with smilla

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.