WIP Encrypt outgoing emails when possible
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-25 23:43:11 +02:00
parent 729e4fd566
commit 9cc4108191
5 changed files with 111 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ class User < ApplicationRecord
def gnupg_key
return nil unless pgp_pubkey.present?
@gnupg_key ||= GPGME::Key.get(pgp_fpr)
GPGME::Key.get(pgp_fpr)
end
def pgp_pubkey_contains_user_address?