Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/crypto/external/bsd/netpgp/dist/bindings/lua
Module Name: src
Committed By: agc
Date: Sun Oct 18 07:23:37 UTC 2009
Modified Files:
src/crypto/external/bsd/netpgp/dist/bindings/lua: netpgp.lua
Log Message:
Use a lua for loop in preference to a while and increment in the lua
example code - suggested by Marc Balmer.
% make USETOOLS=no t
cp Makefile a
./netpgp.lua --sign --detached a
netpgp: default key set to "C0596823"
pub 2048/RSA (Encrypt or Sign) 1b68dcfcc0596823 2004-01-12
Key fingerprint: d415 9deb 336d e4cc cdfa 00cd 1b68 dcfc c059 6823
uid Alistair Crooks <agc%netbsd.org@localhost>
uid Alistair Crooks <agc%pkgsrc.org@localhost>
uid Alistair Crooks <agc%alistaircrooks.com@localhost>
uid Alistair Crooks <alistair%hockley-crooks.com@localhost>
netpgp passphrase:
-rw-r--r-- 1 agc agc 287 Oct 17 15:58 a.sig
./netpgp.lua --verify a.sig
netpgp: default key set to "C0596823"
netpgp: assuming signed data in "a"
Good signature for a.sig made Sat Oct 17 15:58:09 2009
using RSA (Encrypt or Sign) key 1b68dcfcc0596823
pub 2048/RSA (Encrypt or Sign) 1b68dcfcc0596823 2004-01-12
Key fingerprint: d415 9deb 336d e4cc cdfa 00cd 1b68 dcfc c059 6823
uid Alistair Crooks <alistair%hockley-crooks.com@localhost>
uid Alistair Crooks <agc%pkgsrc.org@localhost>
uid Alistair Crooks <agc%netbsd.org@localhost>
uid Alistair Crooks <agc%alistaircrooks.com@localhost>
%
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index