| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
--
Finally Jim's git-fix-log thingy comes handy.
|
|
|
|
|
|
| |
* scd/apdu.c (open_pcsc_reader_wrapped): Show error number.
* scd/command.c (get_reader_slot): Return -1 on error.
|
|
|
|
| |
* scd/command.c (do_reset): Assign slot after setting slot_table.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* scd/command.c (update_card_removed): Do no act on an invalid VRDR.
(do_reset): Ignore apdu_reset error codes for no and inactive card.
Close the reader before setting the slot to -1.
(update_reader_status_file): Notify the application before closing the
reader.
--
With this change the scd now works as it did in the past. In
particular there is no more endless loop trying to open the reader by
the update_reader_status_file ticker function. That bug basically
blocked all card operations until the scdaemon was killed.
|
|
|
|
| |
* scd/command.c (cmd_serialno): Retry once for an inactive card.
|
|
|
|
|
|
|
| |
* scd/apdu.c (apdu_connect): Return status codes for no card available
and inactive card.
* scd/command.c (TEST_CARD_REMOVAL): Also test for GPG_ERR_CARD_RESET.
(open_card): Map apdu_connect status to GPG_ERR_CARD_RESET.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* scd/ccid-driver.c (SCM_SCR331, SCM_SCR331DI, SCM_SCR335)
(SCM_SCR3320, SCM_SPR532, CHERRY_ST2000): New constants.
(parse_ccid_descriptor): Use them.
(scan_or_find_usb_device, ccid_transceive_secure): Handle Cherry
ST-2000. Suggested by Matthias-Christian Ott.
Conflicts:
scd/ccid-driver.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not a part of pin pad support series of mine.
As I found the bug while I am preparing the patches, I report this.
As CCID protocol is little endian, wLangId of US English = 0x0409
is represented as two bytes of 0x09 then 0x04.
It is really confusing that the code like following is floating
around:
pin_verify -> wLangId = HOST_TO_CCID_16(0x0904);
But, it is 0x0409 (not 0x0904). It is defined in the documentation:
http://www.usb.org/developers/docs/USB_LANGIDs.pdf
and origin of this table is Microsoft. We can see it at:
http://msdn.microsoft.com/en-us/library/bb165625%28VS.80%29.aspx
Yes, it would be better not to hard-code 0x0409. It would be better
to try current locale of the user, or to use the first entry of string
descriptor. I don't have time to implement such a thing...
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace gcry_md_start_debug by gcry_md_debug in all files.
* agent/gpg-agent.c (fixed_gcry_pth_init): Use only if
GCRY_THREAD_OPTION_VERSION is 0
* scd/scdaemon.c (fixed_gcry_pth_init): Ditto.
--
Libgcrypt 1.6 will have some minor API changes. In particular some
deprecated macros and functions will be removed. PTH will also be
dropped in favor of a thread model neutral locking method.
|
|
|
|
| |
* g10/keylist.c (list_keyblock_colon): Print digest_algo.
|
|
|
|
|
|
|
|
|
| |
* common/Makefile.am (CLEANFILES): Rename to MAINTAINERCLEANFILES.
--
In general this is not required because automake does this for files
in BUILT_SOURCES anyway. However, having them in CLEANFILES is wrong.
This is bug#1398.
|
|
|
|
|
| |
* scripts/git-log-footer: Add more years; we actually published the
first code in 1997.
|
|
|
|
|
|
| |
* common/estream.c (ESTREAM_MUTEX_LOCK): Cast pth_mutex_acquire result
to void. Some compilers choke on mixing void and int in an
conditional operator. Reported by Nelson H. F. Beebe.
|
|
|
|
| |
--
|
|
|
|
| |
--
|
|
|
|
| |
--
|
| |
|
| |
|
|
|
|
| |
* scripts/config.guess, scripts/config.sub: Update.
|
|
|
|
|
|
| |
* doc/gpg-agent.texi, doc/gpg.texi, doc/gpgsm.texi
* doc/scdaemon.texi, doc/tools.texi: Update.
* doc/yat2m.c: Update.
|
|
|
|
| |
* doc/Makefile.am (update-source): New.
|
|
|
|
| |
--
|
|
|
|
|
| |
* common/Makefile.am (audit-events.h, status-codes.h): Fix target file
name.
|
|
|
|
| |
* doc/samplekeys.asc: Update.
|
|
|
|
|
| |
* g10/mainproc.c (proc_compressed): Remove superfluous check for
an algorithm number of 0. This is bug#1326.
|
|
|
|
|
| |
--
This is bug#1276 and http://bugs.debian.org/594343
|
|
|
|
|
|
|
|
| |
* g10/sign.c (update_keysig_packet): Honor --cert-digest-algo when
recreating a cert.
This is used by various things in --edit-key like setpref, primary,
etc. Suggested by Christian Aistleitner.
|
| |
|
|
|
|
|
|
| |
* scripts/gitlog-to-changelog: Remove.
* Makefile.am (GITLOG_TO_CHANGELOG): New.
(gen-ChangeLog): Use it. Add set -e.
|
|
|
|
|
| |
* po/uk.po: New.
* po/LINGUAS: Add uk.po.
|
|
|
|
| |
--
|
|
|
|
|
| |
* common/estream-printf.c (pr_pointer): Synchronize definition of
AULONG with its use.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* common/status.h (STATUS_DECRYPTION_INFO): New.
* g10/encr-data.c: Include status.h.
(decrypt_data): Emit STATUS_DECRYPTION_INFO line.
--
DECRYPTION_INFO <mdc_method> <sym_algo>
Print information about the symmetric encryption algorithm and
the MDC method. This will be emitted even if the decryption
fails.
|
|
|
|
| |
* scripts/gitlog-to-changelog: Skip merge commits.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* g10/gpgv.c, g10/trustdb.c (read_trust_options): Add min_cert_level
* g10/trustdb.c (check_trustdb_stale): Request a rebuild if
pending_check_trustdb is true (set when we detect a trustdb
parameter has changed).
* g10/keylist.c (public_key_list): Use 'l' in the "tru" with-colons
listing for min_cert_level not matching.
* g10/tdbio.c (tdbio_update_version_record, create_version_record,
tdbio_db_matches_options, tdbio_dump_record, tdbio_read_record,
tdbio_write_record): Add a byte for min_cert_level in the tdbio
version record.
|
| |
|
|
|
|
|
|
|
| |
Fixes bug#1386.
* agent/gpg-agent.c (main): Terminate csh style output with a semicolon.
* scd/scdaemon.c: Ditto.
|
|
|
|
|
|
| |
This is issue 1340. Now that PKSD is dead, and SKS supports long key
IDs, this is safe to do. Patch from Daniel Kahn Gillmor
<[email protected]>.
|
|
|
|
|
| |
* photoid.c (generate_photo_id): Check for the JPEG magic numbers
instead of JFIF since some programs generate an EXIF header first.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* scripts/gitlog-to-changelog: New script. Taken from gnulib.
* scripts/git-log-fix: New file.
* scripts/git-log-footer: New file.
* scripts/git-hooks/commit-msg: New script.
* autogen.sh: Install commit-msg hook for git.
* doc/HACKING: Describe the ChangeLog policy.
* ChangeLog: New file.
* Makefile.am (EXTRA_DIST): Add new files.
(gen-ChangeLog): New.
(dist-hook): Run gen-ChangeLog.
Rename all ChangeLog files to ChangeLog-2011.
|
|
|
|
|
| |
Fixed lost hash sign introduced by previous change (2011-04-08).
Reported by John Marshall.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Copied texi files from master.
Updated de.po.
Added more file to gitignore.
Removed the large PKITS tarball.
General release preparations.
|
|
|
|
|
| |
Also added the option --data. Hwoever we don't list the other itehms
2.1. does; instead we print dashes.
|
|
|
|
|
| |
This implements the suggestion from bug#1349. With this change the
fingerprint of the ssh key is also displayed in the pinentry prompts.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Autoconf 2.68 is more picky about correct macro usage and thus I need
to fix some wrong call conventions for AC_LANG_PROGRAM. Also factor
out an m4 conditional construct from AC_INIT to avoid the "not a
literal" warning.
|