emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/openpgp 8d2f94ef37 04/30: Hexify email address when fet


From: ELPA Syncer
Subject: [elpa] externals/openpgp 8d2f94ef37 04/30: Hexify email address when fetching key
Date: Sun, 26 Mar 2023 10:59:26 -0400 (EDT)

branch: externals/openpgp
commit 8d2f94ef378a1d93d76bc889892ddc49c8a87ea6
Author: Philip Kaludercic <philip.kaludercic@fau.de>
Commit: Philip Kaludercic <philip.kaludercic@fau.de>

    Hexify email address when fetching key
---
 openpgp.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openpgp.el b/openpgp.el
index 6a92d31a83..5ea040b512 100644
--- a/openpgp.el
+++ b/openpgp.el
@@ -1,4 +1,4 @@
-;;; $Id: openpgp.el,v 1.2 2020/03/04 14:40:53 oj14ozun Exp oj14ozun $
+;;; $Id: openpgp.el,v 1.3 2020/03/04 15:40:02 oj14ozun Exp oj14ozun $
 ;;; Implementation of the keys.openpgp.org protocol as specified by
 ;;; https://keys.openpgp.org/about/api
 
@@ -42,7 +42,7 @@ URL, if non-nil."
 
 (defun openpgp-fetch-key-by-email (email)
   "Query key via EMAIL and add to keychain."
-  (url-retrieve (openpgp--api-url "by-email" email)
+  (url-retrieve (openpgp--api-url "by-email" (url-hexify-string email))
                #'openpgp--process-key))
 
  ;; UPLOADING KEYS



reply via email to

[Prev in Thread] Current Thread [Next in Thread]