lookup.sh (for use with ExecNamingService)
This commit is contained in:
@ -20,3 +20,6 @@ of the compile target.
|
||||
5) ant buildCore
|
||||
|
||||
6) java -cp build/i2p.jar:path/to/bcprov.jar:path/to/bcpg.jar net.i2p.util.OpenPGPDest -?
|
||||
|
||||
OpenPGPDest can be used with ExecNamingService via the included lookup.sh; edit
|
||||
the variables within to point to the correct key server and the .jar libraries.
|
||||
|
7
openpgp/lookup.sh
Executable file
7
openpgp/lookup.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
KEYSERVER=127.0.0.1:11371
|
||||
I2PJAR=$I2P/lib/i2p.jar
|
||||
BCLIBS=path/to/bclibs
|
||||
BCPROVJAR=$BCLIBS/bcprov.jar
|
||||
BCPGJAR=$BCLIBS/bcpg.jar
|
||||
curl "http://$KEYSERVER/pks/lookup?op=get&search=$1&options=mr" 2>/dev/null | java -cp $I2PJAR:$BCPROVJAR:$BCPGJAR net.i2p.util.OpenPGPDest --b64
|
Reference in New Issue
Block a user