| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* configure.ac: Add SAFE_VERSION_DOT and SAFE_VERSION_DASH.
|
|
|
|
|
| |
more specific matches before giving up (e.g. 1.3.3-cvs, 1.3.3, 1.3, 1).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
message that can be decrypted via a passphrase or public key system.
* main.h, encode.c (encode_seskey): Allow passing in an already-created
session key dek. (encode_simple): Use the actual symmetric cipher when
encrypting a session key for a symmetric message. (encode_crypt): Add a
flag to trigger a hybrid mode that can be decrypted via a passphrase or a
pk. Change all callers.
* mainproc.c (symkey_decrypt_sesskey): There is no way to tell the
difference here between a bad passphrase and a cipher algorithm that we
don't have, so use a error message that makes that clear. Use the actual
list of ciphers when checking whether a cipher is invalid. Return error
if the decrypted cipher algorithm is invalid. (proc_symkey_enc): In a
mixed passphrase/pk message, if a valid dek already exists from decrypting
via pk, do not try to process the passphrase. (proc_symkey_enc): Indicate
when we're decrypting a session key as opposed to decrypting data. If a
passphrase is invalid, discard the dek so we'll keep trying.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
devices are found.
* Makefile.am: Replaced INTLLIBS by LIBINTL.
|
|
|
|
|
|
|
|
| |
(ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): Add scripts/config.rpath.
* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in,
(AL_LINGUAS): Removed.
|
|
|
|
|
|
|
| |
--pcsc-driver.
* cardglue.c (learn_status_cb): Fixed faulty use of !space.
|
|
|
|
|
| |
friends are in libc instead of libdl.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed all callers.
* cardglue.c (pin_cb): Use it here, so the machine interface can
tell whether the Admin PIN is requested.
* cardglue.c (agent_scd_checkpin): New.
* misc.c (openpgp_pk_algo_usage): Added AUTH usage.
* app-openpgp.c (check_against_given_fingerprint): New. Factored
out that code elsewhere.
(do_check_pin): New.
* card-util.c (card_edit): New command "passwd". Add logic to
check the PIN in advance.
(card_status): Add new args to return the serial number. Changed
all callers.
|
| |
|
|
|
|
|
|
|
|
| |
import warning.
* g10.c (main): Older versions used --comment "" to indicate no comment.
Don't add an empty comment.
|
|
|
|
|
|
| |
the PGP or classic trust models. Both validity and ownertrust are not
meaningful for the always trust model.
|
|
|
|
|
| |
issues? Move sys/types.h up higher to work around.
|
| |
|
| |
|
|
|
|
|
| |
(agent_scd_change_pin): Implemented.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* ccid-driver.c (ccid_close_reader): New.
* apdu.c (close_ccid_reader, close_ct_reader, close_csc_reader)
(close_osc_reader, apdu_close_reader): New. Not all are properly
implemented yet.
* g10.c (g10_exit): Use close_card.
|
| |
|
|
|
|
|
|
|
| |
with less than 16 bits. Include i18n.h.
* POTFILES.in (cipher/primegen.c): Added.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
--show-photos, --show-policy-url, --show-notation, and their respective
no- forms.
* options.skel: Remove show-photos and replace with list/verify-options
show-photos. Remove no-mangle-dos-filenames.
* misc.c (parse_options): Allow for incomplete (but unambiguous) options.
|
|
|
|
|
|
|
|
|
|
| |
* sign.c (do_sign) [!ENABLE_CARD_SUPPORT]: Return an error for
card keys.
* cardglue.c (agent_scd_pkdecrypt): Implemented.
* pubkey-enc.c (get_it) [ENABLE_CARD_SUPPORT]: Divert decryption
to card
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
requested.
(genkey_status_cb): New.
(agent_scd_genkey): Implemented.
* keygen.c (generate_keypair): New arg CARD_SERIALNO and prepare
parameters for on card key generation. Changed all callers.
(do_generate_keypair): Add new arg card and merged casrd specific
changes from 1.9.
(proc_parameter_file): New arg card, apss it down to
do_generate_keypair and changed all callers.
(gen_card_key): New.
* g10.c: Include cardclue.h.
(main): s/app_set_default_reader_port/card_set_reader_port/.
* cardglue.c (card_set_reader_port): New to address include file
issues.
|
|
|
|
|
| |
(tty_print_utf8_string): Made string arg const.
|
|
|
|
|
| |
Debian bug #213989 reported by Max <[email protected]>.
|
|
|
|
|
| |
* dynload [WIN32] (dlclose): Do not use CloseHandle but FreeLibrary.
|
|
|
|
|
|
|
|
|
| |
so that it can be used by getattr to update the structure.
(agent_scd_getattr): New.
* keylist.c (print_pubkey_info): Add FP arg for optional printing
to a stream. Changed all callers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* encode.c (encode_simple): Allow for 32 bytes (256 bits) of symmetrically
encrypted session key. Use --s2k-cipher-algo to choose cipher, rather
than the default cipher.
* parse-packet.c (parse_subkeyenc): Give a warning if an symmetrically
encrypted session key is seen without salt. Show in --list-packets if a
symetrically encrypted session key is present.
* pubkey-enc.c (get_it): Always show cipher-not-in-prefs warning unless
--quiet is set. Use text name of cipher in warning.
|
|
|
|
|
| |
* gpg.sgml: Document --no-groups.
|
|
|
|
|
|
| |
photos mean big keys. Document --rfc2440. Document verify-option
show-unusable-uids.
|
|
|
|
|
| |
--verify-option show-unusable-uids.
|
|
|
|
|
|
|
| |
show-unusable-uids, remove --no-comment (which is now --no-sk-comments),
add --no-comments (to remove --comment), remove --default-comment, and
document --sig-keyserver-url.
|
|
|
|
|
|
| |
that revoked and expired uids are skipped in -r, and that
--no-mangle-dos-filenames is now the default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* trustdb.c (get_validity): Move the up-to-date check to
check_trustdb_stale (new), so that it can be called before validity is
checked.
* keylist.c (list_keyblock_print): Disable the overall key validity
display until it can be thought about more. Use check_trustdb_stale here
to avoid putting the check warning in the middle of a listed key.
* trustdb.c (init_trustdb): Only verify_own_keys() for those trust models
that it applies to (i.e. classic and OpenPGP).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the proposed AUTH key flag.
* getkey.c (fixup_uidnode, merge_selfsigs_main)
(merge_selfsigs_subkey, premerge_public_with_secret): Ditto.
* keylist.c (print_capabilities): Ditto.
* parse-packet.c (parse_key): Allow to parse the divert-to-card
S2K mode.
* build-packet.c (do_secret_key): Handle divert-to-card S2K
* seckey-cert.c (is_secret_key_protected): Ditto.
(check_secret_key): Ditto.
* keygen.c (do_ask_passphrase): Renamed from ask_passphrase.
* passphrase.c (ask_passphrase): New.
|
|
|
|
|
|
| |
* util.h [WIN32]: Prototype for asprintf.
* dynload.h [WIN32]: Define RTLD_LAZY.
|
|
|
|
|
| |
* strgutil.c [WIN32] (asprintf): New.
|
| |
|
|
|
|
|
| |
* dynload.h: New. Taken from 1.9.
|