Namecoin Local PGP Keyserver Plugin

Forum rules
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
phelix
Posts: 1625
Joined: Thu Aug 18, 2011 6:59 am

Namecoin Local PGP Keyserver Plugin

Post by phelix » Sat Jan 09, 2016 1:19 pm

Allows you to make sure you are using the right PGP key by getting a secure pgp key fingerprint from a Namecoin id/

Now on Github: https://github.com/phelix/npkh

Current Features
* will do exact match lookups on id/
* will take a long (>40 characters) key fingerprint from the value field '/gpg/fpr' or '/fpr'
* will download keys from the location specified in the value or from a standard keyserver
* will proxy normal lookups to a standard keyserver
* can work as plugin for NMControl or in standalone mode

How to Try
* run Namecoin Client (blockchain must be completely downloaded) or a drop in replacement (SPV client)

in standalone mode:
* git clone https://github.com/phelix/npkh
* run the python file: python ./pluginKeyHandler.py
(needs Python 2.7.x installed and 'pip install bottle')

as NMControl plugin:
* put pluginKeyHandler.py into the NMControl subfolder 'plugin'
* launch NMControl (stop other instances first then launch e.g. from the command line with: 'python ./nmcontrol.py --debug=1')

then:
* eMailClient (tested with Thunderbird) --> enigmail --> key management --> keyserver
as keyserver enter 127.0.0.1:8083 (default)
* search for e.g. id/domob id/phelix id/jeremy id/greg
* you can also search for non id/ keys as usual

:mrgreen:

[continued from https://forum.namecoin.info/viewtopic.p ... 117#p16117]

(edited a lot; 2017-08-10)
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

domob
Posts: 1083
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Namecoin Local PGP Keyserver Plugin

Post by domob » Sun Jan 10, 2016 12:30 pm

Thanks for your work on this - sounds great! I'm unfortunately too busy at the moment to give it a try - but I think this is a good step forward!
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

phelix
Posts: 1625
Joined: Thu Aug 18, 2011 6:59 am

Re: Namecoin Local PGP Keyserver Plugin

Post by phelix » Tue Jan 12, 2016 9:56 am

domob wrote:Thanks for your work on this - sounds great! I'm unfortunately too busy at the moment to give it a try - but I think this is a good step forward!
It would be nice if someone could give it a try as I would like to claim the bounty.
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

biolizard89
Posts: 1932
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Namecoin Local PGP Keyserver Plugin

Post by biolizard89 » Sun Jan 24, 2016 1:19 pm

Specifically what spec is this implementing to parse the id/ values? (I realize you gave example names, including mine, but this isn't really a substitute for a spec.)
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

phelix
Posts: 1625
Joined: Thu Aug 18, 2011 6:59 am

Re: Namecoin Local PGP Keyserver Plugin

Post by phelix » Tue Jan 26, 2016 10:51 am

biolizard89 wrote:Specifically what spec is this implementing to parse the id/ values? (I realize you gave example names, including mine, but this isn't really a substitute for a spec.)
Is there another one than this: https://wiki.namecoin.org/index.php?title=Identity ?
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

biolizard89
Posts: 1932
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Namecoin Local PGP Keyserver Plugin

Post by biolizard89 » Tue Jan 26, 2016 2:39 pm

phelix wrote:
biolizard89 wrote:Specifically what spec is this implementing to parse the id/ values? (I realize you gave example names, including mine, but this isn't really a substitute for a spec.)
Is there another one than this: https://wiki.namecoin.org/index.php?title=Identity ?
Well, frankly that spec is horrifyingly complex and has features for which I can think of no legitimate applications, so I certainly hope you didn't implement that entire spec. What I was asking was specifically which features from that spec you implemented. I.e. what fields does it check, etc.

It's also worth reminding everyone that that spec is pending revision.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

phelix
Posts: 1625
Joined: Thu Aug 18, 2011 6:59 am

Re: Namecoin Local PGP Keyserver Plugin

Post by phelix » Wed May 10, 2017 8:44 am

biolizard89 wrote:
phelix wrote:
biolizard89 wrote:Specifically what spec is this implementing to parse the id/ values? (I realize you gave example names, including mine, but this isn't really a substitute for a spec.)
Is there another one than this: https://wiki.namecoin.org/index.php?title=Identity ?
Well, frankly that spec is horrifyingly complex and has features for which I can think of no legitimate applications, so I certainly hope you didn't implement that entire spec. What I was asking was specifically which features from that spec you implemented. I.e. what fields does it check, etc.

It's also worth reminding everyone that that spec is pending revision.
No no, this is really simple. It just takes the 'gpg/fpr' field or if that is missing the 'fpr' field directly. Updated OP to include this.

At the bottom of the file there are some tests included that you can run with an instance active already.
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

biolizard89
Posts: 1932
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Namecoin Local PGP Keyserver Plugin

Post by biolizard89 » Thu May 18, 2017 5:58 am

Is there a Git repo available for this, or a download link that supports TLS? Would make it easier to test.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

biolizard89
Posts: 1932
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Namecoin Local PGP Keyserver Plugin

Post by biolizard89 » Sat Aug 05, 2017 2:18 am

biolizard89 wrote:Is there a Git repo available for this, or a download link that supports TLS? Would make it easier to test.
Bump.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

phelix
Posts: 1625
Joined: Thu Aug 18, 2011 6:59 am

Re: Namecoin Local PGP Keyserver Plugin

Post by phelix » Thu Aug 10, 2017 3:31 pm

biolizard89 wrote:
biolizard89 wrote:Is there a Git repo available for this, or a download link that supports TLS? Would make it easier to test.
Bump.
done! updated OP
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

Post Reply