Compare commits
2 Commits
9cc4108191
...
c4024b2534
| Author | SHA1 | Date | |
|---|---|---|---|
|
c4024b2534
|
|||
|
3ee76e26ab
|
@@ -174,6 +174,7 @@ class User < ApplicationRecord
|
||||
|
||||
def gnupg_key
|
||||
return nil unless pgp_pubkey.present?
|
||||
GPGME::Key.import(pgp_pubkey)
|
||||
GPGME::Key.get(pgp_fpr)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user