Werner Koch
b008274afd
Nuked almost all trailing white space.
...
We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces. In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much. For future commits the pre-commit scripts
checks that this won't happen again.
2011-02-04 12:57:53 +01:00
Werner Koch
d8b1099d01
Merged jnlib into common.
2010-03-10 12:24:58 +00:00
Werner Koch
80f77d79c5
Fix a problem with dirmngr looked up certificates.
...
Typo fixes.
2008-04-01 15:08:57 +00:00
Werner Koch
698ba5ae3c
Add new features to kbxutil.
...
Fixed bug 829 (can't encrypt if duplicated certs are in the keybox)
2007-08-23 17:41:22 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
f98537733a
Updated FSF's address.
2006-06-20 17:21:37 +00:00
Werner Koch
deeba405a9
gcc-4 defaults forced me to edit many many files to get rid of the
...
char * vs. unsigned char * warnings. The GNU coding standards used to
say that these mismatches are okay and better than a bunch of casts.
Obviously this has changed now.
2005-06-16 08:12:03 +00:00
Werner Koch
3666a2859b
Avoid the " map_to_assuan_status called with no error source" diagnostic.
2004-12-18 10:22:10 +00:00
Werner Koch
4a73d94757
First take on a W32 port
2004-12-02 07:48:09 +00:00
Werner Koch
2a09a35ad0
* kbxutil.c: New command --import-openpgp.
...
(main): Updated libgcrypt initialization stuff.
(my_gcry_logger): New.
(read_file): New. Taken from ../agent/protect-tool.
(dump_fpr, dump_openpgp_key, import_openpgp): New.
* keybox-openpgp.c: New.
2004-08-24 19:55:47 +00:00
Werner Koch
a1dfa88e52
* keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.
...
(update_stats): New.
* kbxutil.c (main): New command --stats.
2004-06-18 09:53:56 +00:00
Werner Koch
6aaceac7fe
The keybox gets now compressed after 3 hours and ephemeral
...
stored certificates are deleted after about a day.
2004-04-26 08:09:25 +00:00
Werner Koch
d70bc68c30
Include jnlib/types.h and remove our own
...
definitions for byte.u16 and u32.
2004-04-20 14:16:55 +00:00
Werner Koch
5bda9a8e74
* keybox.h (keybox_flag_t): New.
...
* keybox-search.c (get_flag_from_image, keybox_get_flags): New.
(_keybox_get_flag_location): New.
* certchain.c (gpgsm_validate_chain): Mark revoked certs in the
keybox.
* keylist.c (list_cert_colon): New arg VALIDITY; use it to print a
revoked flag.
(list_internal_keys): Retrieve validity flag.
(list_external_cb): Pass 0 as validity flag.
* keydb.c (keydb_get_flags, keydb_set_flags): New.
(keydb_set_cert_flags): New.
(lock_all): Return a proper error code.
(keydb_lock): New.
(keydb_delete): Don't lock but check that it has been locked.
(keydb_update_keyblock): Ditto.
* delete.c (delete_one): Take a lock.
2004-02-02 17:09:35 +00:00
Werner Koch
e4cea09fe1
Replaced deprecated type names
2003-12-17 12:27:21 +00:00
Werner Koch
dba40e5e45
Mainly changes to adjust for the changed KSBA API.
2003-11-12 15:17:44 +00:00
Repo Admin
7250331472
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2003-06-05 07:14:21 +00:00
Repo Admin
82a17c9fb3
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2002-10-19 07:55:27 +00:00
Werner Koch
508ce100c9
* keybox-defs.h: New BLOBTYPTE_EMPTY.
...
* keybox-dump.c (_keybox_dump_blob): Handle new type.
* keybox-file.c (_keybox_read_blob): Skip over empty blobs. Store
the file offset.
* keybox-blob.c (_keybox_new_blob): Add new arg OFF.
(_keybox_get_blob_fileoffset): New.
* keybox-update.c (keybox_delete): Implemented.
2002-07-22 10:21:04 +00:00
Werner Koch
031a856a7e
* keybox-init.c (keybox_set_ephemeral): New.
...
* keybox-blob.c (create_blob_header): Store epheermal flag.
(_keybox_create_x509_blob): Pass epheermal flag on.
* keybox-update.c (keybox_insert_cert): Ditto.
* keybox-search.c (blob_get_blob_flags): New.
(keybox_search): Ignore ephemeral blobs when not in ephemeral mode.
* keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
2002-06-19 08:29:41 +00:00
Werner Koch
134d401a4e
* keybox-blob.c (x509_email_kludge): New.
...
(_keybox_create_x509_blob): Insert an extra email address if the
subject's DN has an email part.
* keybox-defs.h: Added the xtoi_2 and digitp macros.
2001-12-14 20:48:07 +00:00
Werner Koch
90d060c199
We have reached a state where we are able to import certs and
...
check the certification path.
2001-11-13 12:50:14 +00:00
Werner Koch
fcfec25620
Started with keybox implementation by basing it on code from the GnuPG
...
devel branch.
2001-11-10 18:06:11 +00:00