Fix .key regexp for listing existing certs
authorF. Jason Park <jp@neverwas.me>
Thu, 25 Feb 2021 23:51:38 +0000 (15:51 -0800)
committerF. Jason Park <jp@neverwas.me>
Thu, 25 Feb 2021 23:53:08 +0000 (15:53 -0800)
elpher.el

index 4c34f52..0bc0153 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -809,7 +809,7 @@ base for the installed key and certificate files."
   (mapcar
    (lambda (file)
      (file-name-sans-extension file))
-   (directory-files elpher-certificate-directory nil "\.key$")))
+   (directory-files elpher-certificate-directory nil "\\.key$")))
 
 (defun elpher-forget-current-certificate ()
   "Causes any current certificate to be forgotten.)