[Gpg4win-commits] [git] Gpg4win - branch, master, updated. gpg4win-3.1.2-6-ga6477bc

by Andre Heinecke cvs at cvs.gnupg.org
Mon Jun 25 15:12:40 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".

The branch, master has been updated
       via  a6477bc92adf788e0a1e1c0b3c347a37ae89f21f (commit)
      from  8d59f423dbc5c60eef8a2d0a222c0d08782521de (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a6477bc92adf788e0a1e1c0b3c347a37ae89f21f
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Jun 25 15:11:22 2018 +0200

    Register openpgp4fpr URI for Kleopatra
    
    * src/inst-kleopatra.nsi: Register kleo for openpgp4fpr.
    * src/uninst-kelopatra.nsi: Unregister.
    
    --
    This opens keyserver search or details when an openpgp4fpr URI
    is clicked. openpgp4fpr is IANA registered.

diff --git a/src/inst-kleopatra.nsi b/src/inst-kleopatra.nsi
index 4b207aa..7cb2500 100644
--- a/src/inst-kleopatra.nsi
+++ b/src/inst-kleopatra.nsi
@@ -268,6 +268,13 @@ ${MementoSection} "Kleopatra" SEC_kleopatra
   WriteRegStr SHCTX "Software\Gpg4win\kleopatra\Capabilities" "ApplicationIcon" "$INSTDIR\bin\kleopatra.exe,0"
   WriteRegStr SHCTX "Software\Gpg4win\kleopatra\Capabilities" "ApplicationName" "Kleopatra"
 
+
+  # Openpgp4fpr URI scheme
+  WriteRegStr SHCTX "Software\Classes\openpgp4fpr" "" "URL:OpenPGP master key fingerprint"
+  WriteRegStr SHCTX "Software\Classes\openpgp4fpr" "URL Protocol" ""
+  WriteRegStr SHCTX "Software\Classes\openpgp4fpr\DefaultIcon" "" "$INSTDIR\bin\kleopatra.exe,0"
+  WriteRegStr SHCTX "Software\Classes\openpgp4fpr\shell\open\command" "" "$\"$INSTDIR\bin\kleopatra.exe$\" --query $\"%1$\""
+
 !endif
 ${MementoSectionEnd}
 
diff --git a/src/uninst-kleopatra.nsi b/src/uninst-kleopatra.nsi
index 9f445fb..797aaf7 100644
--- a/src/uninst-kleopatra.nsi
+++ b/src/uninst-kleopatra.nsi
@@ -229,6 +229,8 @@ Section "-un.kleopatra"
   DeleteRegValue SHCTX "Software\Classes\.crl" "gpg4win.AssocFile.kleopatra.CMS"
   DeleteRegValue SHCTX "Software\Classes\.crl" "gpg4win.AssocFile.kleopatra.CMS"
 
+  DeleteRegKey SHCTX "Software\Classes\openpgp4fpr"
+
   DeleteRegKey /ifempty SHCTX "Software\Classes\.gpg"
   DeleteRegKey /ifempty SHCTX "Software\Classes\.asc"
   DeleteRegKey /ifempty SHCTX "Software\Classes\.pgp"

-----------------------------------------------------------------------

Summary of changes:
 src/inst-kleopatra.nsi   | 7 +++++++
 src/uninst-kleopatra.nsi | 2 ++
 2 files changed, 9 insertions(+)


hooks/post-receive
-- 
GnuPG for Windows
http://git.gnupg.org



More information about the Gpg4win-commits mailing list