History log of /netbsd-src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua (Results 1 – 8 of 8)
Revision Date Author Comments
# c39ca65b 27-Aug-2022 rillig <rillig@NetBSD.org>

netpgp: fix indentation in Lua binding example program


# 95f3b836 27-Aug-2022 rillig <rillig@NetBSD.org>

netpgp: fail if the shared library cannot be loaded


# a492831e 30-Apr-2018 sevan <sevan@NetBSD.org>

The secret key is required for decryption and signing. Indicate it by setting
the "need seckey" variable before calling init.


# b05246b2 29-Apr-2018 sevan <sevan@NetBSD.org>

sign_file function expects 5 parameters, include the output filename.


# 5ea8497e 19-Oct-2009 agc <agc@NetBSD.org>

Use LD_LIBRARY_PATH to manage the library path, and don't try to second
guess from the lua driver program


# 9470081f 18-Oct-2009 agc <agc@NetBSD.org>

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

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>
uid Alistair Crooks <agc@pkgsrc.org>
uid Alistair Crooks <agc@alistaircrooks.com>
uid Alistair Crooks <alistair@hockley-crooks.com>
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>
uid Alistair Crooks <agc@pkgsrc.org>
uid Alistair Crooks <agc@netbsd.org>
uid Alistair Crooks <agc@alistaircrooks.com>
%

show more ...


# 1f826751 18-Oct-2009 agc <agc@NetBSD.org>

Minor changes to find lua glue library, and to set the home directory on
the correct C/Lua structure


# eb8043c7 12-Oct-2009 agc <agc@NetBSD.org>

Add lua language bindings for netpgp