From 61e115af40487f13e8bdc053dbbab0dab7795229 Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Tue, 6 Feb 2024 18:03:21 -0500 Subject: [PATCH] wkd fix --- assets/files/publickey-binary.asc | Bin 0 -> 379 bytes src/pgp.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 assets/files/publickey-binary.asc diff --git a/assets/files/publickey-binary.asc b/assets/files/publickey-binary.asc new file mode 100644 index 0000000000000000000000000000000000000000..b6717f0cdabf0a4ae10cb668970e1ceba3c6d2ba GIT binary patch literal 379 zcmbPX%#ynC_zE#jZ8k<0##`?EjEw9K>>JJ11w?fA+D}=1eO=Gej0?O8Jg%CnI}PrX zI~PnoK6Q(vYgJLELR3bnf=zC!Ln@F{l~JmfoS$pg(ZC`s#=#)N$^CDSzCnWkO>PpGnZ>-IE+x9=*A0 z4&&uiW=0P7j$9TApxZg2ZkOi4%XG%)({=va9*AM4Le`I w_$|WY{Cr*pBg4FHbql%I%XCdrT)xKUM(?(p=BZ+fF3$Tj-#eQ1(baZd0DS$5w*UYD literal 0 HcmV?d00001 diff --git a/src/pgp.rs b/src/pgp.rs index e97ef63..49fc326 100644 --- a/src/pgp.rs +++ b/src/pgp.rs @@ -12,6 +12,6 @@ pub async fn pubkey() -> (HeaderMap, String) { let mut resp_header = HeaderMap::new(); resp_header.insert("Content-Type", "application/octet-stream".parse().unwrap()); resp_header.insert("Access-Control-Allow-Origin", "*".parse().unwrap()); - let keyraw = fs::read_to_string("assets/files/publickey.asc").unwrap(); + let keyraw = fs::read_to_string("assets/files/publickey-binary.asc").unwrap(); (resp_header, keyraw) }