SHA256
1
0
forked from pool/gpg2

Accepting request 447203 from security:privacy

GnuPG 2.1.17

OBS-URL: https://build.opensuse.org/request/show/447203
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=154
This commit is contained in:
Andreas Stieger 2016-12-20 19:34:32 +00:00 committed by Git OBS Bridge
parent 0e9bf32cb9
commit 8cc55ed8a4
7 changed files with 43 additions and 21 deletions

View File

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

Binary file not shown.

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

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

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

Binary file not shown.

View File

@ -3,11 +3,11 @@
g10/gpg.c | 9 +++++++++ g10/gpg.c | 9 +++++++++
2 files changed, 27 insertions(+) 2 files changed, 27 insertions(+)
Index: gnupg-2.1.15/doc/gpg.texi Index: gnupg-2.1.17/doc/gpg.texi
=================================================================== ===================================================================
--- gnupg-2.1.15.orig/doc/gpg.texi --- gnupg-2.1.17.orig/doc/gpg.texi
+++ gnupg-2.1.15/doc/gpg.texi +++ gnupg-2.1.17/doc/gpg.texi
@@ -1992,6 +1992,24 @@ implies, this option is for experts only @@ -2034,6 +2034,24 @@ implies, this option is for experts only
understand the implications of what it allows you to do, leave this understand the implications of what it allows you to do, leave this
off. @option{--no-expert} disables this option. off. @option{--no-expert} disables this option.
@ -32,11 +32,11 @@ Index: gnupg-2.1.15/doc/gpg.texi
@end table @end table
Index: gnupg-2.1.15/g10/gpg.c Index: gnupg-2.1.17/g10/gpg.c
=================================================================== ===================================================================
--- gnupg-2.1.15.orig/g10/gpg.c --- gnupg-2.1.17.orig/g10/gpg.c
+++ gnupg-2.1.15/g10/gpg.c +++ gnupg-2.1.17/g10/gpg.c
@@ -409,6 +409,7 @@ enum cmd_and_opt_values @@ -415,6 +415,7 @@ enum cmd_and_opt_values
oOnlySignTextIDs, oOnlySignTextIDs,
oDisableSignerUID, oDisableSignerUID,
oSender, oSender,
@ -44,17 +44,17 @@ Index: gnupg-2.1.15/g10/gpg.c
oNoop oNoop
}; };
@@ -830,6 +831,7 @@ static ARGPARSE_OPTS opts[] = { @@ -857,6 +858,7 @@ static ARGPARSE_OPTS opts[] = {
ARGPARSE_s_n (oAllowMultipleMessages, "allow-multiple-messages", "@"), ARGPARSE_s_n (oAllowMultipleMessages, "allow-multiple-messages", "@"),
ARGPARSE_s_n (oNoAllowMultipleMessages, "no-allow-multiple-messages", "@"), ARGPARSE_s_n (oNoAllowMultipleMessages, "no-allow-multiple-messages", "@"),
ARGPARSE_s_n (oAllowWeakDigestAlgos, "allow-weak-digest-algos", "@"), ARGPARSE_s_n (oAllowWeakDigestAlgos, "allow-weak-digest-algos", "@"),
+ ARGPARSE_s_n (oSetLegacyFips, "set-legacy-fips", "@"), + ARGPARSE_s_n (oSetLegacyFips, "set-legacy-fips", "@"),
/* These two are aliases to help users of the PGP command line ARGPARSE_s_s (oDefaultNewKeyAlgo, "default-new-key-algo", "@"),
product use gpg with minimal pain. Many commands are common
@@ -3373,6 +3375,13 @@ main (int argc, char **argv)
case oNoAutostart: opt.autostart = 0; break; @@ -3510,6 +3512,13 @@ main (int argc, char **argv)
opt.def_new_key_algo = pargs.r.ret_str;
break;
+ case oSetLegacyFips: + case oSetLegacyFips:
+ if(gcry_fips_mode_active()) + if(gcry_fips_mode_active())

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Dec 20 18:58:55 UTC 2016 - astieger@suse.com
- GnuPG 2.1.17:
* gpg: By default new keys expire after 2 years.
* gpg: New command --quick-set-expire to conveniently change the
expiration date of keys.
* gpg: Option and command names have been changed for easier
comprehension. The old names are still available as aliases.
* gpg: Improved the TOFU trust model.
* gpg: New option --default-new-key-algo.
* scd: Support OpenPGP card V3 for RSA.
* dirmngr: Support for the ADNS library has been removed. Now using
bundled libdns, enabling Tor support on all platforms.
New option --standard-resolver can be used to disable this code
at runtime.
* dirmngr: Lazily launch ldap reaper thread.
* tools: New options --check and --status-fd for gpg-wks-client.
* The UTF-8 byte order mark is now skipped when reading conf files.
* Fixed many bugs and regressions.
* Major improvements to the test suite. For example it is possible
to run the external test suite of GPGME.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 19 22:07:13 UTC 2016 - astieger@suse.com Sat Nov 19 22:07:13 UTC 2016 - astieger@suse.com

View File

@ -17,7 +17,7 @@
Name: gpg2 Name: gpg2
Version: 2.1.16 Version: 2.1.17
Release: 0 Release: 0
Summary: GnuPG 2 Summary: GnuPG 2
License: GPL-3.0+ License: GPL-3.0+
@ -36,7 +36,6 @@ Patch9: gnupg-detect_FIPS_mode.patch
Patch11: gnupg-add_legacy_FIPS_mode_option.patch Patch11: gnupg-add_legacy_FIPS_mode_option.patch
BuildRequires: expect BuildRequires: expect
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libadns-devel
BuildRequires: libassuan-devel >= 2.4.3 BuildRequires: libassuan-devel >= 2.4.3
BuildRequires: libgcrypt-devel >= 1.7.0 BuildRequires: libgcrypt-devel >= 1.7.0
BuildRequires: libgpg-error-devel >= 1.24 BuildRequires: libgpg-error-devel >= 1.24
@ -44,7 +43,7 @@ BuildRequires: libksba-devel >= 1.3.4
BuildRequires: makeinfo BuildRequires: makeinfo
BuildRequires: npth-devel >= 1.2 BuildRequires: npth-devel >= 1.2
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(gnutls) >= 3.0 BuildRequires: pkgconfig(gnutls) >= 3.0
@ -107,7 +106,7 @@ date=$(date -u +%%Y-%%m-%%dT%%H:%%M+0000 -r %{SOURCE99})
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} make %{?_smp_mflags} DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_sysconfdir}/gnupg/ mkdir -p %{buildroot}%{_sysconfdir}/gnupg/
# bnc#391347 # bnc#391347
install -m 644 doc/examples/gpgconf.conf %{buildroot}%{_sysconfdir}/gnupg install -m 644 doc/examples/gpgconf.conf %{buildroot}%{_sysconfdir}/gnupg
@ -152,7 +151,7 @@ install -m 755 tools/gpg-zip %{buildroot}/%{_bindir}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_infodir}/gnupg* %{_infodir}/gnupg*
%{_mandir}/*/*.gz %{_mandir}/*/*%{ext_man}
%doc %{_docdir}/%{name} %doc %{_docdir}/%{name}
%{_bindir}/* %{_bindir}/*
%{_libdir}/[^d]* %{_libdir}/[^d]*