SHA256
1
0
forked from pool/gpg2

Accepting request 519191 from security:privacy

GnuPG 2.2.0 bsc#1054088

OBS-URL: https://build.opensuse.org/request/show/519191
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=177
This commit is contained in:
Andreas Stieger 2017-08-28 17:36:56 +00:00 committed by Git OBS Bridge
parent 0eae918f19
commit 8912df4de5
7 changed files with 55 additions and 20 deletions

View File

@ -4,11 +4,11 @@
g10/sign.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++------ g10/sign.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
3 files changed, 67 insertions(+), 6 deletions(-) 3 files changed, 67 insertions(+), 6 deletions(-)
Index: gnupg-2.1.22/g10/gpg.c Index: gnupg-2.1.23/g10/gpg.c
=================================================================== ===================================================================
--- gnupg-2.1.22.orig/g10/gpg.c --- gnupg-2.1.23.orig/g10/gpg.c 2017-08-09 15:46:17.000000000 +0200
+++ gnupg-2.1.22/g10/gpg.c +++ gnupg-2.1.23/g10/gpg.c 2017-08-10 16:21:26.692847431 +0200
@@ -379,6 +379,7 @@ enum cmd_and_opt_values @@ -380,6 +380,7 @@ enum cmd_and_opt_values
oTTYtype, oTTYtype,
oLCctype, oLCctype,
oLCmessages, oLCmessages,
@ -16,7 +16,7 @@ Index: gnupg-2.1.22/g10/gpg.c
oXauthority, oXauthority,
oGroup, oGroup,
oUnGroup, oUnGroup,
@@ -828,6 +829,7 @@ static ARGPARSE_OPTS opts[] = { @@ -829,6 +830,7 @@ static ARGPARSE_OPTS opts[] = {
ARGPARSE_s_s (oWeakDigest, "weak-digest","@"), ARGPARSE_s_s (oWeakDigest, "weak-digest","@"),
ARGPARSE_s_n (oUnwrap, "unwrap", "@"), ARGPARSE_s_n (oUnwrap, "unwrap", "@"),
ARGPARSE_s_n (oOnlySignTextIDs, "only-sign-text-ids", "@"), ARGPARSE_s_n (oOnlySignTextIDs, "only-sign-text-ids", "@"),
@ -24,15 +24,15 @@ Index: gnupg-2.1.22/g10/gpg.c
/* Aliases. I constantly mistype these, and assume other people do /* Aliases. I constantly mistype these, and assume other people do
as well. */ as well. */
@@ -2383,6 +2385,7 @@ main (int argc, char **argv) @@ -2388,6 +2390,7 @@ main (int argc, char **argv)
opt.def_cert_expire = "0"; opt.def_cert_expire = "0";
gnupg_set_homedir (NULL); gnupg_set_homedir (NULL);
opt.passphrase_repeat = 1; opt.passphrase_repeat = 1;
+ opt.files_are_digests=0; + opt.files_are_digests=0;
opt.emit_version = 0; opt.emit_version = 0;
opt.weak_digests = NULL; opt.weak_digests = NULL;
additional_weak_digest("MD5");
@@ -2944,6 +2947,7 @@ main (int argc, char **argv) @@ -2952,6 +2955,7 @@ main (int argc, char **argv)
opt.verify_options&=~VERIFY_SHOW_PHOTOS; opt.verify_options&=~VERIFY_SHOW_PHOTOS;
break; break;
case oPhotoViewer: opt.photo_viewer = pargs.r.ret_str; break; case oPhotoViewer: opt.photo_viewer = pargs.r.ret_str; break;
@ -40,11 +40,11 @@ Index: gnupg-2.1.22/g10/gpg.c
case oForceMDC: opt.force_mdc = 1; break; case oForceMDC: opt.force_mdc = 1; break;
case oNoForceMDC: opt.force_mdc = 0; break; case oNoForceMDC: opt.force_mdc = 0; break;
Index: gnupg-2.1.22/g10/options.h Index: gnupg-2.1.23/g10/options.h
=================================================================== ===================================================================
--- gnupg-2.1.22.orig/g10/options.h --- gnupg-2.1.23.orig/g10/options.h 2017-08-09 15:46:17.000000000 +0200
+++ gnupg-2.1.22/g10/options.h +++ gnupg-2.1.23/g10/options.h 2017-08-10 16:21:26.692847431 +0200
@@ -212,6 +212,7 @@ struct @@ -213,6 +213,7 @@ struct
int no_auto_check_trustdb; int no_auto_check_trustdb;
int preserve_permissions; int preserve_permissions;
int no_homedir_creation; int no_homedir_creation;
@ -52,10 +52,10 @@ Index: gnupg-2.1.22/g10/options.h
struct groupitem *grouplist; struct groupitem *grouplist;
int mangle_dos_filenames; int mangle_dos_filenames;
int enable_progress_filter; int enable_progress_filter;
Index: gnupg-2.1.22/g10/sign.c Index: gnupg-2.1.23/g10/sign.c
=================================================================== ===================================================================
--- gnupg-2.1.22.orig/g10/sign.c --- gnupg-2.1.23.orig/g10/sign.c 2017-07-28 19:39:06.000000000 +0200
+++ gnupg-2.1.22/g10/sign.c +++ gnupg-2.1.23/g10/sign.c 2017-08-10 16:21:26.692847431 +0200
@@ -43,6 +43,8 @@ @@ -43,6 +43,8 @@
#include "../common/mbox-util.h" #include "../common/mbox-util.h"
#include "../common/compliance.h" #include "../common/compliance.h"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46716faf9e1b92cfca86609f3bfffbf5bb4b6804df90dc853ff7061cfcfb4ad7
size 6530433

Binary file not shown.

3
gnupg-2.2.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4514a0be0f7a1ff263193330019eb4b53c82f0f5e230af3c14df371271a45e6
size 6532475

BIN
gnupg-2.2.0.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon Aug 28 17:21:30 UTC 2017 - astieger@suse.com
- GnuPG 2.2.0:
* New long term stable branch, replacing the 2.0.x series
* gpg: Reverted change in 2.1.23 so that --no-auto-key-retrieve
is again the default boo#1054088
* Fixed a few minor bugs
-------------------------------------------------------------------
Sat Aug 12 16:56:26 UTC 2017 - astieger@suse.com
- GnuPG 2.1.23:
* gpg: Options --auto-key-retrieve and --auto-key-locate "local,wkd"
are now used by default. Note: this enables keyserver and Web Key
Directory operators to notice when a signature from a locally
non-available key is being verified for the first time or when
you intend to encrypt to a mail address without having the key
locally. This new behaviour will eventually make key discovery
much easier and mostly automatic. Disable this by adding
no-auto-key-retrieve
auto-key-locate local
to your gpg.conf.
* agent: Option --no-grab is now the default. The new option --grab
allows to revert this.
* gpg: New import option "show-only".
* gpg: New option --disable-dirmngr to entirely disable network
access for gpg.
* gpg,gpgsm: Tweaked DE-VS compliance behaviour.
* New configure flag --enable-all-tests to run more extensive tests
during "make check".
* gpgsm: The keygrip is now always printed in colon mode as
documented in the man page.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 28 19:29:52 UTC 2017 - astieger@suse.com Fri Jul 28 19:29:52 UTC 2017 - astieger@suse.com

View File

@ -17,7 +17,7 @@
Name: gpg2 Name: gpg2
Version: 2.1.22 Version: 2.2.0
Release: 0 Release: 0
Summary: File encryption, decryption, signature creation and verification utility Summary: File encryption, decryption, signature creation and verification utility
License: GPL-3.0+ License: GPL-3.0+
@ -103,8 +103,9 @@ date=$(date -u +%%Y-%%m-%%dT%%H:%%M+0000 -r %{SOURCE99})
--enable-large-secmem \ --enable-large-secmem \
--enable-wks-tools \ --enable-wks-tools \
--with-gnu-ld \ --with-gnu-ld \
--with-default-trust-store=%{_sysconfdir}/ssl/ca-bundle.pem \ --with-default-trust-store-file=%{_sysconfdir}/ssl/ca-bundle.pem \
--enable-build-timestamp=$date \ --enable-build-timestamp=$date \
--enable-gpg-is-gpg2 \
make %{?_smp_mflags} make %{?_smp_mflags}