Page MenuHome GnuPG

unregisterd file types like *.skr
Closed, ResolvedPublic

Description

I have installed Gpg4win version 2.3.3 on windows 8.1 and 10.

No registry entries are created for file types created or used by
GPG like:
ASC,GPG,KBX,PGP,PKR,SIG,SIGN,SKR

Of course by shell extension GpgEX a context menue exist, but i am used
to open a file directly by mouse-clicking.

Furthermore no human readable description , mime type or icon for above
mentioned file name extensions exist.

Of cource i am able to create/modify such tings by my self with the help of the
Registry Editor or by NirSoft's FileTypesMan but i think the GPG installer
should do this work.

So i look what was used on OpenSuSE 13.2 Linux system and i also checked this
information by using 2 web sites http://extension.nirsoft.net/
http://file-extension.net/seeker/ especially if also other file types exist.

mime type extension description other icon
description

desc.

application/ ASC, PGP/MIME encrypted message header ~8 keyhole on
paper sheet
pgp-encypted PGP " ~3

GPG            "                                 0

application/ ASC, PGP keys ~8 safe wheel
on paper sheet
pgp-keys PGP " ~3

GPG            "                                 0     
SKR            PGP keys (secret key ring)        1     
PKR            PGP keys (public key ring)        1

application/ ASC, detached OpenPGP signature ~8 pencil
creating signature
pgp-signature PGP " ~3

GPG            "                                 0     
SIG            "                                 ~11
SIGN           "                                 0
  • KBX GNU Privacy Guard keybox file 2 -

mime type action command
pgp-encypted decrypt kleopatra -d
pgp-keys import keys kleopatra --import-certificate
pgp-signature decrypt&verify kleopatra -D

I hope that Gpg4win installer in next versions create registry entries for such
file name extensions.

Event Timeline

FWIW, the use of file suffixes to determine the content of a file is pretty
fragile. On Unix this is not used due to the availibility of the file command.

The recent gpgme version has enhanced detection capabilities (even better than
file) for OpenPGP and S/MIME file types. If there is a way to hook into the
Explorer to determine the file type and set an icon we might be able to add this
to GpgOL

aheinecke claimed this task.
aheinecke added a subscriber: aheinecke.

With Gpg4win 3.0 we registered associations for S/MIME and OpenPGP Files:

WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".pgp" "gpg4win.AssocFile.$0.GPG"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".asc" "gpg4win.AssocFile.$0.ASC"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".gpg" "gpg4win.AssocFile.$0.GPG"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".cer" "gpg4win.AssocFile.$0.X509"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".p10" "gpg4win.AssocFile.$0.X509"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".p12" "gpg4win.AssocFile.$0.X509"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".p7c" "gpg4win.AssocFile.$0.X509"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".pfx" "gpg4win.AssocFile.$0.X509"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".crt" "gpg4win.AssocFile.$0.X509"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".der" "gpg4win.AssocFile.$0.X509"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".sig" "gpg4win.AssocFile.$0.PGPSIG"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".arl" "gpg4win.AssocFile.$0.CMS"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".crl" "gpg4win.AssocFile.$0.CMS"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".p7m" "gpg4win.AssocFile.$0.CMS"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".p7s" "gpg4win.AssocFile.$0.CMS"
WriteRegStr SHCTX "Software\Gpg4win\$0\Capabilities\FileAssociations" ".pem" "gpg4win.AssocFile.$0.CMS"

With friendly name, description etc.
Things like skr or kbx will not be registered as these are data files which are internal to GnuPG.