aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * misc.c (compress_algo_to_string): Return NULL on failure like all of theDavid Shaw2004-02-101-4/+10
| | | | | | | | | | | | | | | | other xxxx_algo_to_string() functions. * mainproc.c (list_node): Minor spacing tweak to match --list-keys output. * keylist.c (list_keyblock_print), mainproc.c (list_node): Mark revoked subkeys as revoked. Requested by Matthew Wilcox. Make revoked and expired tags translatable (they are already translated elsewhere). Revoked overrides expiration when both apply. * keyedit.c (show_prefs): Use compress algo constants. (show_basic_key_info): Make revoked and expired tags translatable (show_key_with_all_names): Revoked overrides expired when both apply.
* * decrypt.c: Fix copyright date.David Shaw2004-01-291-11/+2
| | | | | | | * packet.h, keyedit.c (show_key_with_all_names_colon), keylist.c (list_keyblock_colon), mainproc.c (list_node, proc_tree): Minor cleanup to remove local_id, which is no longer used.
* * g10.c (list_config, main): New function to dump config options toDavid Shaw2004-01-131-1/+3
| | | | | | | stdout. Currently requires --with-colons. * getkey.c, keylist.c, packet.h, pkclist.c: Fix copyright dates.
* * sig-check.c: Copyright typo.David Shaw2004-01-061-1/+1
| | | | | | * keylist.c (set_attrib_fd): Open attribute fd in binary mode. This isn't meaningful on POSIX systems, but the Mingw builds aren't exactly POSIX.
* * keylist.c (show_policy_url): Policy URLs might be UTF8.David Shaw2003-08-311-2/+1
|
* * trustdb.h, trustdb.c (read_trust_options): New. Returns items from theDavid Shaw2003-07-211-4/+25
| | | | | | | trustdb version record. * keylist.c (public_key_list): Use it here for the new "tru" record.
* * keylist.c (list_keyblock_colon): Don't include validity values whenDavid Shaw2003-06-151-5/+9
| | | | | | | | | | | | | | listing secret keys since they can be incorrect and/or misleading. This is a temporary kludge, and will be handled properly in 1.9/2.0. * signal.c (init_one_signal, pause_on_sigusr, do_block): Only use sigprocmask() if we have sigset_t, and only use sigaction() if we have struct sigaction. This is for Forte c89 on Solaris which seems to define only the function call half of the two pairs by default. (pause_on_sigusr): Typo. (do_block): If we can't use sigprocmask() and sigset_t, try to get the number of signals from NSIG as well as MAXSIG, and if we can't, fail with an explanation.
* * keylist.c (list_one): Don't show the keyring filename when inDavid Shaw2003-05-301-13/+17
| | | | | | | | | | | | | | | | | | | | | | --with-colons mode. Actually translate "Keyring" string. * mainproc.c (proc_tree): We can't currently handle multiple signatures of different classes or digests (we'd pretty much have to run a different hash context for each), but if they are all the same, make an exception. This is Debian bug #194292. * sig-check.c (check_key_signature2): Make string translatable. * packet.h, getkey.c (fixup_uidnode): Mark real primary uids differently than assumed primaries. * keyedit.c (no_primary_warning): Use the differently marked primaries here in a new function to warn when an --edit-key command might rearrange the self-sig dates enough to change which uid is primary. (menu_expire, menu_set_preferences): Use no_primary_warning() here. * Makefile.am: Use @DLLIBS@ for -ldl.
* * keylist.c (list_keyblock_print): Don't dump attribs forDavid Shaw2003-05-201-5/+6
| | | | | | | | | revoked/expired/etc uids for non-colon key listings. This is for consistency with --show-photos. * main.h, keylist.c (dump_attribs), mainproc.c (check_sig_and_print): Dump attribs if --attrib-fd is set when verifying signatures.
* * g10.c (main): New --gnupg option to disable the various --openpgp,David Shaw2003-05-091-1/+1
| | | | | | | | | | | | | | | | --pgpX, etc. options. This is the same as --no-XXXX for those options. * packet.h, getkey.c (skip_disabled), keylist.c (print_capabilities): New "pk_is_disabled" macro to retrieve the cached disabled value if available, and fill it in via cache_disabled_value if not available. * trustdb.h, gpgv.c (is_disabled), trustdb.c (is_disabled): Rename to cache_disabled_value. Cache the result of the check so we don't need to hit the trustdb more than once. * trustdb.c (get_validity): Cache the disabled value since we have it handy and it might be useful later.
* * keyedit.c (sign_uids): Show keyid of the key making the signature.David Shaw2003-05-071-9/+3
| | | | | | | | | | | * trustdb.h, trustdb.c (is_disabled), keylist.c (print_capabilities), gpgv.c (is_disabled): is_disabled now takes a pk and not just the keyid. This is for speed since there is no need to re-fetch a key when we already have that key handy. * getkey.c (skip_disabled): New function to get a pk and call is_disabled on it. (key_byname): Use it here.
* Reverted recent changes to --output. This is the stable branch and itWerner Koch2003-04-141-1/+0
| | | | | might break applications.
* Forgot to sync the CVS. Check in the code again.Timo Schulz2003-04-131-0/+1
|
* * packet.h, pkclist.c (build_pk_list), free-packet.cDavid Shaw2003-01-091-12/+3
| | | | | | | | | | (release_public_key_parts): Remove unused namehash element for public keys. * trustdb.h, gpgv.c, trustdb.c (get_validity, get_validity_info): Pass a user ID in rather than a namehash, so we only have to do the hashing in one place.
* * keylist.c (print_capabilities): Show 'D' for disabled keys inDavid Shaw2003-01-061-1/+14
| | | | | | | capabilities section. * trustdb.c (is_disabled): Remove incorrect comment.
* * main.h, keylist.c (reorder_keyblock), keyedit.c (keyedit_menu): ReorderDavid Shaw2002-12-031-1/+1
| | | | | | | | | | | user ID display in the --edit-key menu to match that of the --list-keys display. * tdbio.c (tdbio_read_record, tdbio_write_record): Comments to reserve a byte for trust model in the devel version. * g10.c (add_notation_data): Fix initialization.
* * keyedit.c (show_key_with_all_names_colon): Make --with-colons --editDavid Shaw2002-11-131-5/+7
| | | | | | | | | | display match the validity and trust of --with-colons --list-keys. * passphrase.c (agent_send_all_options): Fix compile warning. * keylist.c (list_keyblock_colon): Validity for subkeys should match that of the primary key, and not that of the last user ID.
* * keylist.c (print_capabilities): Properly indicate per-key capabilitiesDavid Shaw2002-10-071-7/+12
| | | | | | of sign&encrypt primary keys that have secret-parts-missing (i.e. no capabilities at all).
* * keylist.c (print_capabilities): Secret-parts-missing keys should showDavid Shaw2002-10-031-6/+6
| | | | | that fact in the capabilities.
* * packet.h, parse_packet (parse_key): Add is_primary flag for public keysDavid Shaw2002-10-031-3/+13
| | | | | | | | (it already exists for secret keys). * keylist.c (print_capabilities): Only primary signing keys can certify other keys.
* * import.c (import_secret_one): Check for an illegal (>110) protectionDavid Shaw2002-10-021-4/+5
| | | | | | | | | | | | | | | cipher when importing a secret key. * keylist.c (list_keyblock_print): Show a '#' for a secret-parts-missing key. * parse_packet.c (parse_key): Some comments. * revoke.c (gen_revoke): Remove some debugging code. * trustdb.c (verify_own_keys): Make trusted-key a non-deprecated option again.
* * keylist.c (list_keyblock_colon): Show 1F direct key signatures inDavid Shaw2002-09-191-0/+2
| | | | | | | | | | | --with-colons listing. * keyserver.c (keyserver_spawn): Properly handle line truncation. Don't leak memory (~10-20 bytes) on searches. (keyserver_search_prompt): Cleanup. * hkp.c (hkp_search): Properly handle line truncation.
* * import.c (clean_subkeys, chk_self_sigs): Merge clean_subkeys intoDavid Shaw2002-08-221-1/+1
| | | | | | | | | | | | | | chk_self_sigs. This improves efficiency as the same signatures are not checked multiple times. Clarify when a subkey is revoked (any revocation signature, even if it is dated before the binding signature). * getkey.c (merge_selfsigs_subkey): Subkey revocation comments. * keylist.c (list_one): Stats are only for public key listings. * g10.c (main), options.skel: Default should be include-revoked for keyserver operations.
* * keylist.c, keyedit.c, keyserver.c, sign.c: Some TODOs and comments.David Shaw2002-08-201-0/+5
| | | | | | | | | * export.c (do_export_stream): Fix noop bug in exporting sensitive revocation keys. * pkclist.c (do_edit_ownertrust): Comment out the option for showing trust paths until it can be implemented.
* * getkey.c (get_user_id_native): Renamed to ..Werner Koch2002-08-191-0/+5
| | | | | | | | | | | | (get_user_id_printable): this. Filter out all dangerous characters. Checked all usages. (get_user_id_string_native): Renamed to.. (get_user_id_string_printable): this. Filter out all dangerous characters. Checked all usages. * keyedit.c (show_basic_key_info): New. * keylist.c (print_fingerprint): New mode 3. * import.c (import_one): Use new function to display the user ID.
* * keyedit.c (menu_revsig): Change "revsig" to honor selected uids so theDavid Shaw2002-07-251-4/+6
| | | | | | | | user can revoke sigs from particular uids only. * keylist.c (list_keyblock_print): Don't display expired uids in --list-keys unless -v and not --list-sigs (just like revoked uids).
* * sig-check.c (signature_check2): Signatures made by invalid subkeysDavid Shaw2002-07-231-3/+49
| | | | | | | | (bad/missing binding sig) are also invalid. * keylist.c (print_fingerprint): Show the primary as well as the secondary key fingerprint in modes 1 & 2.
* * options.skel: Fix a few typos, clarify "group", and remove sample photoDavid Shaw2002-07-011-1/+1
| | | | | | | | viewers for Win32 since they are the defaults now. * parse-packet.c (make_attribute_uidname), keylist.c (dump_attribs): Fix two typecast warnings.
* Update head to match stable 1.0David Shaw2002-06-291-285/+761
|
* Changed keyring handling - saving still does not work.Werner Koch2000-10-101-6/+6
| | | | | Added new cipher mode and updated cipher test program.
* See ChangeLog: Tue Jul 25 17:44:15 CEST 2000 Werner KochWerner Koch2000-07-251-1/+82
|
* See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch2000-07-141-40/+55
|
* See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch2000-01-271-7/+7
|
* See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch2000-01-241-4/+4
|
* See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1999-11-131-2/+3
|
* See ChangeLog: Tue Aug 31 17:20:44 CEST 1999 Werner KochWerner Koch1999-08-311-4/+12
|
* See ChangeLog: Tue Jun 8 13:36:25 CEST 1999 Werner KochWerner Koch1999-06-081-0/+18
|
* See ChangeLog: Wed Apr 28 13:03:03 CEST 1999 Werner KochWerner Koch1999-04-281-1/+4
|
* See ChangeLog: Sun Apr 18 20:48:15 CEST 1999 Werner KochWerner Koch1999-04-181-1/+4
|
* See ChangeLog: Wed Mar 10 11:26:18 CET 1999 Werner KochWerner Koch1999-03-101-3/+7
|
* See ChangeLog: Mon Mar 8 20:47:17 CET 1999 Werner KochWerner Koch1999-03-081-3/+10
|
* See ChangeLog: Sun Feb 28 19:11:00 CET 1999 Werner KochWerner Koch1999-02-281-1/+1
|
* See ChangeLog: Wed Feb 24 11:07:27 CET 1999 Werner KochWerner Koch1999-02-241-1/+1
|
* See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1999-02-101-0/+1
|
* See ChangeLog: Sun Jan 24 18:16:26 CET 1999 Werner KochWerner Koch1999-01-241-22/+24
|
* See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1998-12-231-3/+3
|
* See ChangeLog ;-). Key validation should now be fasterWerner Koch1998-11-131-1/+2
|
* ready to release 0.4.3V0-4-3Werner Koch1998-11-081-13/+31
|
* Epxerimenta support for GDBM keyings.Werner Koch1998-10-211-33/+56
|
* last local commitWerner Koch1998-10-161-9/+11
|