progmaticltd / homebox

A set of ansible scripts to build a personal mail server / private cloud / etc.
https://homebox.space/
GNU General Public License v3.0
461 stars 52 forks source link

Implement web keys directory #336

Closed progmaticltd closed 1 year ago

progmaticltd commented 4 years ago

Along with #335, it does not seem to be a huge amount of work to implement a web key directory, and seem nice for a professional email hosting platform.

Soem links:

fredericmoulins commented 4 years ago

I do have a playbook for the web key discovery part, ie publication of the public key under a well-known URL, for both direct and advanced method.

I did it quick and dirty, so it needs some changes on the way to configure the PGP public keys per users.

The RFC requires (for now) the public key to be in the binary format. To get a public key in the system configuration, there might be several options:

Any thoughts?

arodier commented 4 years ago

Thanks, a lot of nice ideas, as usual, I will come back to you on this. For now, I am focusing on fixing the postfix/dovecot sent mail copy. See the PR for the status

fredericmoulins commented 3 years ago

356 allows to publish PGP public keys as a Web Key Directory by adding them ascii armored in the server's configuration. This can be useful for the administrator or for a few people on the domain.

A few notes.

I am open to discussion, opinions and ideas on these. I am happy to be able to publish keys, the rest is a matter of convention and coherence with other roles, and can quite easily be changed.

In the great scheme of things, a next step would be to implement the Web Key Service integrated with Postfix (and apparmor-ed…).

progmaticltd commented 1 year ago

Implemented