lp:gnupg

Created by DNS on 2011-09-28 and last modified on 2013-10-04
Get this branch:
bzr branch lp:gnupg

Related bugs

Related blueprints

Branch information

Owner:
RBOSE VCS Imports
Project:
GnuPG
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://git.gnupg.org/gnupg.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was on 2013-10-04.

Import started on 2013-10-08 on pear and finished on 2013-10-08 taking 30 seconds — see the log
Import started on 2013-10-06 on russkaya and finished on 2013-10-06 taking 1 minute — see the log
Import started on 2013-10-05 on pear and finished on 2013-10-05 taking 40 seconds — see the log
Import started on 2013-10-05 on russkaya and finished on 2013-10-05 taking 1 minute — see the log

Recent revisions

3530. By Werner Koch <email address hidden> on 2013-10-04

doc: Some gpg and gpgv clarifications.

--
GnuPG-bug-id: 1486, 1537

3529. By Werner Koch <email address hidden> on 2013-10-04

gpg: Limit the nesting level of I/O filters.

* common/iobuf.c (MAX_NESTING_FILTER): New.
(iobuf_push_filter2): Limit the nesting level.

* g10/mainproc.c (mainproc_context): New field ANY. Change HAVE_DATA
and ANY_SIG_SIGN to bit fields of ANY. Add bit field
UNCOMPRESS_FAILED.
(proc_compressed): Avoid printing multiple Bad Data messages.
(check_nesting): Return GPG_ERR_BAD_DATA instead of UNEXPECTED_DATA.
--

This is a more general fix for the nested compression packet bug. In
particular this helps g10/import.c:read_block to stop pushing
compression filters onto an iobuf stream. This patch also reduces the
number of error messages for the non-import case.

Signed-off-by: Werner Koch <email address hidden>
(cherry picked from commit 35e40e2d514223c950c2f6d1214e02e92d87e997)

Resolved conflicts:
 common/iobuf.c
 g10/mainproc.c

3528. By Werner Koch <email address hidden> on 2013-10-02

gpg: Fix bug with deeply nested compressed packets.

* g10/mainproc.c (MAX_NESTING_DEPTH): New.
(proc_compressed): Return an error code.
(check_nesting): New.
(do_proc_packets): Check packet nesting depth. Handle errors from
check_compressed.

Signed-off-by: Werner Koch <email address hidden>

3527. By Werner Koch <email address hidden> on 2013-10-01

Register DCO for Kyle Butt.

--

3526. By Werner Koch <email address hidden> on 2013-09-08

Switch to deterministic DSA.

* agent/pksign.c (rfc6979_hash_algo_string): New.
(do_encode_dsa) [Libgcrypt >= 1.6]: Make use of RFC-6979.
--

Now that we have a good (and not NSA/NIST demanded ;-) specification
on how to use DSA without a random nonce, we take advantage of it and
thus avoid pitfalls related to a misbehaving RNG during signature
creation.

Note that OpenPGP has the option of using a longer hash algorithm but
truncated to what is suitable for the used DSA key size. The hash
used as input to RFC-6979 will also be one with an appropriate digest
length but not a truncated one. This is allowed by RFC-6979.

Signed-off-by: Werner Koch <email address hidden>

3525. By Werner Koch <email address hidden> on 2013-08-30

scd: Suppress gcc warning about possible uninitialized use.

* scd/app-nks.c (parse_pwidstr): Always init r_pwid.

Signed-off-by: Werner Koch <email address hidden>

3524. By Werner Koch <email address hidden> on 2013-08-30

gpg: Use 2048 as the default keysize in batch mode.

* g10/keygen.c (gen_elg, gen_dsa, gen_rsa): Set default keysize to
2048.

Signed-off-by: Werner Koch <email address hidden>

3523. By Werner Koch <email address hidden> on 2013-08-30

gpgtar: Fix building for systems with a separate libintl.

* tools/Makefile.am (gpgtar_LDADD): Add LIBINTL and LIBICONV.

Signed-off-by: Werner Koch <email address hidden>

3522. By Werner Koch <email address hidden> on 2013-08-30

scd: Use vendor and product id macros also in apdu.c

* scd/ccid-driver.c: Move vendor and product ids to ...
* scd/ccid-driver.h: here.
* scd/apdu.c (CCID_DRIVER_INCLUDE_USB_IDS): Define to include ids.
(pcsc_vendor_specific_init): Use vendor and product id macros.

Signed-off-by: Werner Koch <email address hidden>

3521. By NIIBE Yutaka on 2013-08-30

scd: PC/SC pinpad input improvement.

* scd/apdu.c (struct reader_table_s): Add members: PINMIN, PINMAX, and
PINPAD_VERLEN_SUPPORTED.
(CM_IOCTL_VENDOR_IFD_EXCHANGE, FEATURE_GET_TLV_PROPERTIES,
PCSCv2_PART10_PROPERTY_*): New.
(new_reader_slot): Initialize pinpad_varlen_supported, pinmin, pinmax.
(pcsc_vendor_specific_init): New.
(open_pcsc_reader_direct, open_pcsc_reader_wrapped): Call
pcsc_vendor_specific_init.
(check_pcsc_pinpad): Not detect here but use the result of
pcsc_vendor_specific_init.
(pcsc_pinpad_verify, pcsc_pinpad_modify): Specify bNumberMessage.

--

Signed-off-by: NIIBE Yutaka

--

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.