Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
|
#
1.27 |
|
10-May-2018 |
sevan |
Add descriptions for netpgp_match_keys() netpgp_match_keys_json() netpgp_match_pubkeys() netpgp_validate_sigs() netpgp_format_json()
|
#
1.26 |
|
09-May-2018 |
sevan |
Add a description of netpgp_unsetvar and netpgp_list_keys_json.
|
#
1.25 |
|
09-May-2018 |
wiz |
Fix typo, add 'and' in list.
|
#
1.24 |
|
09-May-2018 |
sevan |
Add the type of information returned about maintainer.
|
Revision tags: pgoyette-compat-0502
|
#
1.23 |
|
29-Apr-2018 |
sevan |
Add the following functions to the list (TODO - add descriptions) netpgp_unsetvar netpgp_list_keys_json netpgp_match_keys netpgp_match_keys_json netpgp_match_pubkeys netpgp_validate_sigs netpgp_format_json
Remove netpgp_match_list_keys() as function does not exist
Add missing output file to netpgp_verify_file() argument list
Sprinkle const to arguments
|
Revision tags: pgoyette-compat-0422
|
#
1.22 |
|
16-Apr-2018 |
wiz |
Remove trailing whitespace.
|
#
1.21 |
|
15-Apr-2018 |
sevan |
Break down explanation of netpgp_init to make it easier to extend. Document how the userid is obtained.
|
Revision tags: pgoyette-compat-0415 pgoyette-compat-0407
|
#
1.20 |
|
04-Apr-2018 |
sevan |
Drop superfluous zero prefix for single digit number days.
heads up by wiz
|
#
1.19 |
|
03-Apr-2018 |
sevan |
Some further changes from PR bin/48395.
|
#
1.18 |
|
02-Apr-2018 |
sevan |
Revert previous change as the typedef should now work as intended. Thanks christos, martin
|
#
1.17 |
|
01-Apr-2018 |
sevan |
netpgp_t is a structure
|
Revision tags: netbsd-7-2-RELEASE netbsd-8-0-RC1 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.16 |
|
17-Feb-2014 |
agc |
branches: 1.16.18; 1.16.24; Manual page fixes from Anthony J. Bentley, with many thanks!
Addresses PR/48395
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
|
#
1.15 |
|
20-Jul-2013 |
wiz |
Use Mt for email addresses.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 agc-netpgp-standalone-base yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.14 |
|
18-Jun-2010 |
agc |
branches: 1.14.6; 1.14.14; 1.14.18; At the request of Alan Horn, clarify the purpose of netpgp_get_info().
|
#
1.13 |
|
07-May-2010 |
agc |
Sync with reality using patch provided by Juan RP in PR 43259. Thanks!
|
#
1.12 |
|
14-Mar-2010 |
agc |
catch up with the change in signature (hah!) for netpgp_list_keys(3).
|
#
1.11 |
|
22-Dec-2009 |
agc |
Netpgp changes to 1.99.15/20091221
+ some ssh host keys do not have the username of the generator included in the key itself. If there is no username in there, create one. + added netpgp_encrypt_memory() and netpgp_decrypt_memory() + overhaul netpgp(1) to work with stdin/stdout if no filenames specified:
% netpgp --encrypt < a | netpgp --decrypt > b netpgp: default key set to "C0596823" 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: % diff a b % ls -al a b -rw-r--r-- 1 agc agc 15243 Dec 20 08:55 a -rw-r--r-- 1 agc agc 15243 Dec 21 17:15 b %
% netpgp --sign < a | netpgp --cat > b netpgp: default key set to "C0596823" 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: Good signature for <stdin> made Mon Dec 21 18:25:02 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> uid Alistair Crooks (Yahoo!) <agcrooks@yahoo-inc.com> %
+ add explanations of memory-based operations to manual pages
|
#
1.10 |
|
14-Dec-2009 |
agc |
Prepare for a new netpgp-20091210 portable release.
Apart from infrastructure changes, there are the following functional ones:
+ Update to version 20091210
+ provide a new netpgp_match_list_keys(3) function to perform a regular-expression based search of all the keys in the keyring. If no pattern is specified to match, then all keys are returned.
+ provide a new netpgp_set_homedir(3) function, and use it to set the home directory from the library, rather than individually in all the programs which use the library
+ provide a new netpgp_incvar(3) function which will add a constant increment (which may be negative) to the value of an internal variable. This is primarily used for the verbosity level within the library, and is again a movement of the function into the library from the individual programs which use the library
+ move to the specification of an ssh key file by internal variable, rather than the directory holding an ssh key file
+ autoconf infrastructure changes
+ take a hammer to the _GNU_SOURCE definitions problems
+ don't rely on strnlen(3) being present everywhere
|
Revision tags: matt-premerge-20091211
|
#
1.9 |
|
19-Nov-2009 |
agc |
Commit some changes that have been in a private tree for a while:
+ add a netpgp library function - netpgp_get_key(3) - to print a specific key + add functionality to call this function in netpgpkeys(1) + add test for netpgp_get_key + add a verbose switch to the tst script + add netpgp functions to expose the memory signing and verification functions - netpgp_sign_memory(3) and netpgp_verify_memory(3) + coalesced signing and verification ops file functions
|
Revision tags: netpgp-1-99-4 netpgp-release-1-0-0
|
#
1.8 |
|
14-May-2009 |
wiz |
Remove trailing whitespace.
|
#
1.7 |
|
14-May-2009 |
agc |
+ got rid of "local" header files. These aren't necessary since the openpgpsdk code was modified to all be in the same directory + added netpgp_getvar() and netpgp_setvar(), and use them to get and set the user id and hash algorithm preference + get rid of <stdbool.h> usage - I'm still not sure this is the way we should be going long term, but the bool changes got integrated with the others, and are there in cvs history if we want to resurrect them. Correct autoconf accordingly. Bump netpgp minimus version, and autoconf-based date version. + updated documentation to reflect these changes
|
Revision tags: jym-xensuspend-base jym-xensuspend-nbase
|
#
1.6 |
|
05-May-2009 |
agc |
branches: 1.6.2; + __ops_packet_t -> __ops_subpacket_t + __ops_parser_content_t -> __ops_packet_t + rename some other long names 51 chars is the record function name length so far + preliminary moves to support detached signatures as yet, incomplete + add back command line option to list packets in a signed or encrypted file + make __ops_parse() take an argument whether to print errors, and kill the __ops_parse_and_print_errors() function + get rid of some assertions in the code - this is a library - about 100 to go
|
#
1.5 |
|
02-May-2009 |
wiz |
Bump date for netpgp_sign_file signature change.
|
#
1.4 |
|
02-May-2009 |
agc |
Document the way to get detached sig files from this library
|
#
1.3 |
|
28-Apr-2009 |
wiz |
Fix In argument (no <> needed). Use .Pa for paths. Drop trailing space. Punctuation nits.
|
#
1.2 |
|
28-Apr-2009 |
agc |
Use .Ar properly
|
#
1.1 |
|
23-Apr-2009 |
agc |
branches: 1.1.1; Initial revision
|
#
1.16 |
|
17-Feb-2014 |
agc |
Manual page fixes from Anthony J. Bentley, with many thanks!
Addresses PR/48395
|
#
1.15 |
|
20-Jul-2013 |
wiz |
Use Mt for email addresses.
|
#
1.14 |
|
17-Jun-2010 |
agc |
branches: 1.14.6; 1.14.14; 1.14.18; At the request of Alan Horn, clarify the purpose of netpgp_get_info().
|
#
1.13 |
|
06-May-2010 |
agc |
Sync with reality using patch provided by Juan RP in PR 43259. Thanks!
|
#
1.12 |
|
13-Mar-2010 |
agc |
catch up with the change in signature (hah!) for netpgp_list_keys(3).
|
#
1.11 |
|
21-Dec-2009 |
agc |
Netpgp changes to 1.99.15/20091221
+ some ssh host keys do not have the username of the generator included in the key itself. If there is no username in there, create one. + added netpgp_encrypt_memory() and netpgp_decrypt_memory() + overhaul netpgp(1) to work with stdin/stdout if no filenames specified:
% netpgp --encrypt < a | netpgp --decrypt > b netpgp: default key set to "C0596823" 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: % diff a b % ls -al a b -rw-r--r-- 1 agc agc 15243 Dec 20 08:55 a -rw-r--r-- 1 agc agc 15243 Dec 21 17:15 b %
% netpgp --sign < a | netpgp --cat > b netpgp: default key set to "C0596823" 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: Good signature for <stdin> made Mon Dec 21 18:25:02 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> uid Alistair Crooks (Yahoo!) <agcrooks@yahoo-inc.com> %
+ add explanations of memory-based operations to manual pages
|
#
1.10 |
|
14-Dec-2009 |
agc |
Prepare for a new netpgp-20091210 portable release.
Apart from infrastructure changes, there are the following functional ones:
+ Update to version 20091210
+ provide a new netpgp_match_list_keys(3) function to perform a regular-expression based search of all the keys in the keyring. If no pattern is specified to match, then all keys are returned.
+ provide a new netpgp_set_homedir(3) function, and use it to set the home directory from the library, rather than individually in all the programs which use the library
+ provide a new netpgp_incvar(3) function which will add a constant increment (which may be negative) to the value of an internal variable. This is primarily used for the verbosity level within the library, and is again a movement of the function into the library from the individual programs which use the library
+ move to the specification of an ssh key file by internal variable, rather than the directory holding an ssh key file
+ autoconf infrastructure changes
+ take a hammer to the _GNU_SOURCE definitions problems
+ don't rely on strnlen(3) being present everywhere
|
#
1.9 |
|
19-Nov-2009 |
agc |
Commit some changes that have been in a private tree for a while:
+ add a netpgp library function - netpgp_get_key(3) - to print a specific key + add functionality to call this function in netpgpkeys(1) + add test for netpgp_get_key + add a verbose switch to the tst script + add netpgp functions to expose the memory signing and verification functions - netpgp_sign_memory(3) and netpgp_verify_memory(3) + coalesced signing and verification ops file functions
|
#
1.8 |
|
14-May-2009 |
wiz |
Remove trailing whitespace.
|
#
1.7 |
|
13-May-2009 |
agc |
+ got rid of "local" header files. These aren't necessary since the openpgpsdk code was modified to all be in the same directory + added netpgp_getvar() and netpgp_setvar(), and use them to get and set the user id and hash algorithm preference + get rid of <stdbool.h> usage - I'm still not sure this is the way we should be going long term, but the bool changes got integrated with the others, and are there in cvs history if we want to resurrect them. Correct autoconf accordingly. Bump netpgp minimus version, and autoconf-based date version. + updated documentation to reflect these changes
|
#
1.6 |
|
04-May-2009 |
agc |
branches: 1.6.2; + __ops_packet_t -> __ops_subpacket_t + __ops_parser_content_t -> __ops_packet_t + rename some other long names 51 chars is the record function name length so far + preliminary moves to support detached signatures as yet, incomplete + add back command line option to list packets in a signed or encrypted file + make __ops_parse() take an argument whether to print errors, and kill the __ops_parse_and_print_errors() function + get rid of some assertions in the code - this is a library - about 100 to go
|
#
1.5 |
|
02-May-2009 |
wiz |
Bump date for netpgp_sign_file signature change.
|
#
1.4 |
|
01-May-2009 |
agc |
Document the way to get detached sig files from this library
|
#
1.3 |
|
28-Apr-2009 |
wiz |
Fix In argument (no <> needed). Use .Pa for paths. Drop trailing space. Punctuation nits.
|
#
1.2 |
|
27-Apr-2009 |
agc |
Use .Ar properly
|
#
1.1 |
|
23-Apr-2009 |
agc |
branches: 1.1.1; Initial revision
|
#
1.1.1.1 |
|
23-Apr-2009 |
agc |
Import netpgp source into crypto/external - this is a heavily-modified version of openpgpsdk, and will replace it. Differences between netpgp and the NetBSD repository version of openpgpsdk are:
+ Wrap source code in GNU autoconf/configure + New high-level interface for libnetpgp(3) and netpgp(1) + Hide prolifery of local headers in the internal lib directory - there is now one exported header called netpgp.h + Hide all ops_* functions and structs behind __ops_* names + Fix long-standing bug - make decryption work with files > 8192 bytes (fix for signature verification of signed files > 8192 bytes was already brought forward from the NetBSD repository of openpgpsdk) + Use mmap(2) to read files, falls back to read(2) if can't do mmap + Compile portable package using libtool + Rationalise the number of source files - merge a number of smaller ones + Case-insensitive matching of key ids + Use PRIsize throughout + Use calloc(3) throughout to zero memory + Get rid of global symbols which abused a macro + Use more descriptive names - remove "_arg_" components, name things for their purpose, rather than what they are (their type) + No more --passphrase= argument to netpgp(1) - this is now always done through callbacks + Report source code date and build date in version number, as well as the version number itself
This will form the basis of the portable netpgp package.
|
#
1.6.2.2 |
|
13-May-2009 |
jym |
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
#
1.6.2.1 |
|
04-May-2009 |
jym |
file libnetpgp.3 was added on branch jym-xensuspend on 2009-05-13 19:16:05 +0000
|
#
1.14.18.1 |
|
23-Jul-2013 |
riastradh |
sync with HEAD
|
#
1.14.14.1 |
|
19-Aug-2014 |
tls |
Rebase to HEAD as of a few days ago.
|
#
1.14.6.1 |
|
22-May-2014 |
yamt |
sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|