This commit is contained in:
JMARyA 2023-09-16 17:53:03 +02:00
parent ef1da94872
commit abceac2073
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
5 changed files with 8 additions and 9 deletions

View file

@ -82,7 +82,7 @@ pub async fn public_key(r: HttpRequest) -> Result<impl Responder, Error> {
)
.expect("could not read key");
let pgp = gnupg::GnuPG::new().expect("no gpg");
let pgp = gnupg_rs::GnuPG::new().expect("no gpg");
let key_name = pgp.import_key(&key).expect("key not valid").name;
let key = key.replace('\n', "<br>");