[DRE-commits] [reel] 01/02: add missing extended key usage x509v3 extensions

Micah Anderson micah at moszumanska.debian.org
Mon Jan 9 16:51:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

micah pushed a commit to branch master
in repository reel.

commit 60dbfcf2c8a1fd89b9faec861440827db09a9d22
Author: Micah Anderson <micah at riseup.net>
Date:   Mon Jan 9 11:40:20 2017 -0500

    add missing extended key usage x509v3 extensions
---
 debian/patches/0003-client-cert-x509v3-extension-in-spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/patches/0003-client-cert-x509v3-extension-in-spec b/debian/patches/0003-client-cert-x509v3-extension-in-spec
index b444622..a0bd89d 100644
--- a/debian/patches/0003-client-cert-x509v3-extension-in-spec
+++ b/debian/patches/0003-client-cert-x509v3-extension-in-spec
@@ -4,15 +4,17 @@ Forwarded: Yes
 Last-Update: 2016-12-05
 Index: reel/spec/support/create_certs.rb
 ===================================================================
---- reel.orig/spec/support/create_certs.rb	2016-12-05 21:22:04.111496054 -0500
-+++ reel/spec/support/create_certs.rb	2016-12-05 21:23:33.401298728 -0500
-@@ -48,7 +48,8 @@
+--- reel.orig/spec/support/create_certs.rb	2017-01-09 11:41:36.449332154 -0500
++++ reel/spec/support/create_certs.rb	2017-01-09 11:42:12.536548234 -0500
+@@ -48,7 +48,10 @@
  client_cert.serial_number.number = 1
  client_cert.key_material.generate_key
  client_cert.parent = ca
 -client_cert.sign!
 +
-+client_cert.sign! 'extensions' => { 'keyUsage' => { 'usage' => %w(digitalSignature) } }
++client_cert.sign! 'extensions' => { 'keyUsage'         => { 'usage' => %w(digitalSignature) },
++                                    'extendedKeyUsage' => { 'usage' => %w(serverAuth clientAuth) }
++                                  }
  
  client_cert_path = File.join(certs_dir, 'client.crt')
  client_key_path  = File.join(certs_dir, 'client.key')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/reel.git



More information about the Pkg-ruby-extras-commits mailing list