Hello community, here is the log from the commit of package tinyca2 for openSUSE:Factory checked in at Thu Mar 10 12:04:07 CET 2011. -------- --- tinyca2/tinyca2.changes 2008-03-16 16:53:05.000000000 +0100 +++ /mounts/work_src_done/STABLE/tinyca2/tinyca2.changes 2011-01-15 17:37:13.000000000 +0100 @@ -1,0 +2,6 @@ +Sat Jan 15 16:37:00 UTC 2011 - lnussel@suse.de + +- add support for Microsoft extendedKeyUsage attributes +- fix combobox strings for extended key usage + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- 0001-fix-combobox-strings-for-extended-key-usage.diff 0002-add-support-for-Microsoft-extendedKeyUsage-attributes.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tinyca2.spec ++++++ --- /var/tmp/diff_new_pack.eIde3c/_old 2011-03-10 12:00:37.000000000 +0100 +++ /var/tmp/diff_new_pack.eIde3c/_new 2011-03-10 12:00:37.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package tinyca2 (Version 0.7.5) +# spec file for package tinyca2 # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,11 +25,13 @@ %define templatesdir %{_datadir}/TinyCA2/templates %define localedir %{_datadir}/TinyCA2/locale/ Group: Productivity/Networking/Security -License: GPL v2 or later +License: GPLv2+ Requires: perl perl-Gtk2 perl-MIME-Base64 Version: 0.7.5 -Release: 45 +Release: 56 Source0: %{name}-%{version}.tar.bz2 +Patch0: 0001-fix-combobox-strings-for-extended-key-usage.diff +Patch1: 0002-add-support-for-Microsoft-extendedKeyUsage-attributes.diff Summary: A Graphical Tool for Managing a Certification Authority BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -60,6 +62,8 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build # Configure pristine source ++++++ 0001-fix-combobox-strings-for-extended-key-usage.diff ++++++
From 673b1934fac99981ac0b10d46d9d453997a0cfed Mon Sep 17 00:00:00 2001 From: Ludwig Nussel
Date: Mon, 12 Oct 2009 13:40:29 +0200 Subject: [PATCH 1/2] fix combobox strings for extended key usage
--- lib/GUI/TCONFIG.pm | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/GUI/TCONFIG.pm b/lib/GUI/TCONFIG.pm index 150e241..7e7511b 100644 --- a/lib/GUI/TCONFIG.pm +++ b/lib/GUI/TCONFIG.pm @@ -421,6 +421,7 @@ sub show_configbox { if((defined($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'})) && ($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'} ne 'none') && + ($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'} ne 'user') && ($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'} ne '')) { push(@combostrings, $main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'}); @@ -849,6 +850,7 @@ sub show_configbox { if((defined($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'})) && ($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'} ne 'none') && + ($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'} ne 'user') && ($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'} ne '')) { push(@combostrings, $main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'}); -- 1.6.4.2 ++++++ 0002-add-support-for-Microsoft-extendedKeyUsage-attributes.diff ++++++
From cc4e8c21f6a711e719e2b434f4738f1a0e52a700 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel
Date: Mon, 12 Oct 2009 14:01:56 +0200 Subject: [PATCH 2/2] add support for Microsoft extendedKeyUsage attributes
useful for creating WPA2 EAP-TLS certificates, see http://support.microsoft.com/kb/814394 --- lib/GUI/TCONFIG.pm | 28 ++++++++++++++-------------- lib/GUI/WORDS.pm | 6 +++++- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/lib/GUI/TCONFIG.pm b/lib/GUI/TCONFIG.pm index 7e7511b..57bcd77 100644 --- a/lib/GUI/TCONFIG.pm +++ b/lib/GUI/TCONFIG.pm @@ -417,14 +417,16 @@ sub show_configbox { $comboextendedKeyUsage = Gtk2::Combo->new(); @combostrings = ( $main->{'words'}{'none'}, + $main->{'words'}{'1.3.6.1.5.5.7.3.1'}, $main->{'words'}{'user'}); if((defined($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'})) && ($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'} ne 'none') && ($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'} ne 'user') && ($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'} ne '')) { - push(@combostrings, - $main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'}); + my $str = $main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'}; + $str = $main->{'words'}{$str} if exists $main->{'words'}{$str}; + push(@combostrings, $str) unless grep { $str eq $_; } @combostrings; } $comboextendedKeyUsage->set_popdown_strings(@combostrings); @@ -437,11 +439,9 @@ sub show_configbox { $main->{'radio1'}->set_sensitive(1); $main->{'radio2'}->set_sensitive(1); - if($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'} eq 'user'){ - $comboextendedKeyUsage->entry->set_text($main->{'words'}{'user'}); - } else { - $comboextendedKeyUsage->entry->set_text($main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'}); - } + my $str = $main->{'TCONFIG'}->{'server_cert'}->{'extendedKeyUsage'}; + $str = $main->{'words'}{$str} if exists $main->{'words'}{$str}; + $comboextendedKeyUsage->entry->set_text($str); } else { $comboextendedKeyUsage->entry->set_text($main->{'words'}{'none'}); $main->{'radio1'}->set_sensitive(0); @@ -846,14 +846,16 @@ sub show_configbox { $combocextendedKeyUsage = Gtk2::Combo->new(); @combostrings = ( $main->{'words'}{'none'}, + $main->{'words'}{'1.3.6.1.5.5.7.3.2'}, $main->{'words'}{'user'}); if((defined($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'})) && ($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'} ne 'none') && ($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'} ne 'user') && ($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'} ne '')) { - push(@combostrings, - $main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'}); + my $str = $main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'}; + $str = $main->{'words'}{$str} if exists $main->{'words'}{$str}; + push(@combostrings, $str) unless grep { $str eq $_; } @combostrings; } $combocextendedKeyUsage->set_popdown_strings(@combostrings); @@ -866,11 +868,9 @@ sub show_configbox { $main->{'radio1'}->set_sensitive(1); $main->{'radio2'}->set_sensitive(1); - if($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'} eq 'user'){ - $combocextendedKeyUsage->entry->set_text($main->{'words'}{'user'}); - } else { - $combocextendedKeyUsage->entry->set_text($main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'}); - } + my $str = $main->{'TCONFIG'}->{'client_cert'}->{'extendedKeyUsage'}; + $str = $main->{'words'}{$str} if exists $main->{'words'}{$str}; + $combocextendedKeyUsage->entry->set_text($str); } else { $combocextendedKeyUsage->entry->set_text($main->{'words'}{'none'}); $main->{'radio1'}->set_sensitive(0); diff --git a/lib/GUI/WORDS.pm b/lib/GUI/WORDS.pm index efd64d6..abbe5c6 100644 --- a/lib/GUI/WORDS.pm +++ b/lib/GUI/WORDS.pm @@ -70,6 +70,8 @@ sub new { 'STATUS' => _("Status"), 'FINGERPRINTMD5' => _("Fingerprint (MD5)"), 'FINGERPRINTSHA1' => _("Fingerprint (SHA1)"), + '1.3.6.1.5.5.7.3.1' => _("TLS Web Server Authentication"), + '1.3.6.1.5.5.7.3.2' => _("TLS Web Client Authentication"), _("Not set") => 'none', _("Ask User") => 'user', _("critical") => 'critical', @@ -99,7 +101,9 @@ sub new { _("SSL CA, S/MIME CA, Object Signing CA")=> 'sslCA, emailCA, objCA', _("Certificate Signing") => 'keyCertSign', _("CRL Signing") => 'cRLSign', - _("Certificate Signing, CRL Signing") => 'keyCertSign, cRLSign' + _("Certificate Signing, CRL Signing") => 'keyCertSign, cRLSign', + _("TLS Web Server Authentication") => '1.3.6.1.5.5.7.3.1', + _("TLS Web Client Authentication") => '1.3.6.1.5.5.7.3.2', }; my $class = ref($that) || $that; -- 1.6.4.2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org