Skip to content

[WIP] Encrypt mail with pgp

Based on this feature Request and some Issues I started working on encrypted Email Support.

Fixes #3853 (closed) and #3471 (moved)

ToDo List:

  • Sending PGP signed messages.
  • PGP can be enabled in the admin interface.
  • PGP signing can be enabled in the admin interface.
  • PGP passphrase can be configured in the admin interface.
  • User can upload a personal public PGP Key.
  • User can specify if they want to receive encrypted mails.
  • PGP Fingerprint is visible on the Profile page.
  • When clicking on the fingerprint, the RAW PGP Key is shown.
  • Admin can remove a users PGP Key
  • Admin can see and change a users PGP settings.
  • Decrypt mails send to the GitLab server (Reply by email feature)
  • Write Tests
  • Cleanup Code
  • Make the servers PGP Key available in the web interface (e.g. in the Help selection)
  • Write documentation

For these changes to work fully, GnuPG must be installed on the system. Also two new Gems are required gpgme and mail-gpg.

PS: This is the first time I am developing something in Ruby/Rails, so your feedback is really appreciated!

Merge request reports