Re: [Sks-devel] Support per something like pksclient

2012-05-25 Thread Phil Pennock
On 2012-05-25 at 10:53 -0400, Phil Pennock wrote: > Attached patch for sksclient.ml lets it take multiple keys on argv and > strips an optional 0x from the front of a keyid. Attached patch is my diff from your hg tip. Fixes the bdb include, changes sksclient to: * use -stdin to read from stdin,

Re: [Sks-devel] Support per something like pksclient

2012-05-25 Thread Phil Pennock
On 2012-05-25 at 13:14 +0200, Kristian Fiskerstrand wrote: > Ok, I've pushed it to my repo for now, so it is available at [0]. > > Note that if it is to be used for high-frequency jobs, another approach > should probably be considered than opening and closing the DB each > time. And not doing any

Re: [Sks-devel] Support per something like pksclient

2012-05-25 Thread Kristian Fiskerstrand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2012-05-25 13:09, Phil Pennock wrote: > On 2012-05-25 at 11:23 +0200, Kristian Fiskerstrand wrote: >> Is this client something there is an interest in from others so >> that we should include it directly?, wouldn't necessarily be >> worse than t

Re: [Sks-devel] Support per something like pksclient

2012-05-25 Thread Phil Pennock
On 2012-05-25 at 11:23 +0200, Kristian Fiskerstrand wrote: > Is this client something there is an interest in from others so that > we should include it directly?, wouldn't necessarily be worse than the > spider.. I'm interested. I've glanced at the WoT stuff a couple of times and pondered doing

Re: [Sks-devel] Support per something like pksclient

2012-05-25 Thread Kristian Fiskerstrand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2012-05-25 09:27, Giovanni Mascellani wrote: > Hi ... > > Thanks, I'll try it later. Since I do not know Ocaml, is it > possible to make the program fail (exit with code != 0) when it > finds no keys? > See updated patch vs latest trunk. Also

Re: [Sks-devel] Support per something like pksclient

2012-05-25 Thread Giovanni Mascellani
Hi. Il 25/05/2012 01:02, Kristian Fiskerstrand ha scritto: > Hi Giovanni, > > You might want to try something like the attached patch > > needs "make sksclient", and use it like ./sksclient 6b0b9508 > > (note, I've only added support for that key format) Thanks, I'll try it later. Since I do n

Re: [Sks-devel] Support per something like pksclient

2012-05-24 Thread Kristian Fiskerstrand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2012-05-22 20:31, Giovanni Mascellani wrote: > Hi. > > Moreover, I would like to skip the HTTP part, since I think it's > quite expensive. The original pksclient script queries directly the > PKS database. > Hi Giovanni, You might want to try

Re: [Sks-devel] Support per something like pksclient

2012-05-22 Thread John Clizbe
Giovanni Mascellani wrote: > Hi. > > Il 22/05/2012 20:02, Jens Leinenbach ha scritto: >> Hi, >> >> Why not use this? >> gpg --keyserver $SERVER --recv-keys $KEYID > > I don't want to import the key in a local keyring, I just want to dump > it in the standard output. Then the script pks2wot will

Re: [Sks-devel] Support per something like pksclient

2012-05-22 Thread Giovanni Mascellani
Hi. Il 22/05/2012 20:02, Jens Leinenbach ha scritto: > Hi, > > Why not use this? > gpg --keyserver $SERVER --recv-keys $KEYID I don't want to import the key in a local keyring, I just want to dump it in the standard output. Then the script pks2wot will take care of properly handling the output (

Re: [Sks-devel] Support per something like pksclient

2012-05-22 Thread Jens Leinenbach
Hi, Why not use this? gpg --keyserver $SERVER --recv-keys $KEYID Cheers Jens Am 22.05.2012 19:00, schrieb Giovanni Mascellani: > Hi. > > Last days I've played a bit with pks2wot, a script that you probably > already know to dump a stripped and compressed representation of the > connections in

[Sks-devel] Support per something like pksclient

2012-05-22 Thread Giovanni Mascellani
Hi. Last days I've played a bit with pks2wot, a script that you probably already know to dump a stripped and compressed representation of the connections in the greatest strong connected component in the web of trust. Being designed for PKS, pks2wot exploits a program named "pksclient", that is a