[Pkg-openssl-changes] r502 - in openssl/trunk/debian: . patches

Kurt Roeckx kroeckx at alioth.debian.org
Mon Jun 13 10:41:26 UTC 2011


Author: kroeckx
Date: 2011-06-13 10:41:26 +0000 (Mon, 13 Jun 2011)
New Revision: 502

Added:
   openssl/trunk/debian/patches/dgst_hmac.patch
Modified:
   openssl/trunk/debian/changelog
   openssl/trunk/debian/patches/series
Log:
Document dgst -hmac option.  Patch by Thorsten Glaser <tg at mirbsd.de>
(Closes: #529586)


Modified: openssl/trunk/debian/changelog
===================================================================
--- openssl/trunk/debian/changelog	2011-06-13 10:32:22 UTC (rev 501)
+++ openssl/trunk/debian/changelog	2011-06-13 10:41:26 UTC (rev 502)
@@ -7,8 +7,10 @@
   * More spelling fixes from Scott Schaefer (Closes: #395424)
   * Patch from Scott Schaefer to better document pkcs12 password options
     (Closes: #462489)
+  * Document dgst -hmac option.  Patch by Thorsten Glaser <tg at mirbsd.de>
+    (Closes: #529586)
 
- -- Kurt Roeckx <kurt at roeckx.be>  Mon, 13 Jun 2011 12:31:25 +0200
+ -- Kurt Roeckx <kurt at roeckx.be>  Mon, 13 Jun 2011 12:39:54 +0200
 
 openssl (1.0.0d-2) unstable; urgency=high
 

Added: openssl/trunk/debian/patches/dgst_hmac.patch
===================================================================
--- openssl/trunk/debian/patches/dgst_hmac.patch	                        (rev 0)
+++ openssl/trunk/debian/patches/dgst_hmac.patch	2011-06-13 10:41:26 UTC (rev 502)
@@ -0,0 +1,59 @@
+From: Thorsten Glaser <tg at mirbsd.de>
+Date: Fri, 22 May 2009 16:28:05 +0000 (UTC)
+Subject: Document openssl dgst -hmac option
+
+I've committed the thing below in MirBSD=C2=B9; since the apps code
+changes very little between OpenSSL versions, it will probably
+apply to the Debian package as well. I=E2=80=99m open for better wor-
+ding though, especially considering the FIPS option, which I
+found as undocumented too.
+
+Index: src/lib/libssl/src/doc/apps/dgst.pod
+diff -up src/lib/libssl/src/doc/apps/dgst.pod:1.1.1.2 src/lib/libssl/src/do=
+c/apps/dgst.pod:1.2
+--- src/lib/libssl/src/doc/apps/dgst.pod:1.1.1.2=09Fri Apr 29 13:39:55 2005
++++ src/lib/libssl/src/doc/apps/dgst.pod=09Wed May 20 09:51:51 2009
+@@ -12,6 +12,8 @@ B<openssl> B<dgst>=20
+ [B<-d>]
+ [B<-hex>]
+ [B<-binary>]
++[B<-hmac arg>]
++[B<-non-fips-allow>]
+ [B<-out filename>]
+ [B<-sign filename>]
+ [B<-passin arg>]
+@@ -52,6 +54,14 @@ digest as opposed to a digital signature
+=20
+ output the digest or signature in binary form.
+=20
++=3Ditem B<-hmac arg>
++
++set the HMAC key to "arg".
++
++=3Ditem B<-non-fips-allow>
++
++allow use of non FIPS digest.
++
+ =3Ditem B<-out filename>
+=20
+ filename to output to, or standard output by default.
+Index: src/lib/libssl/src/apps/dgst.c
+diff -up src/lib/libssl/src/apps/dgst.c:1.1.1.2 src/lib/libssl/src/apps/dgs=
+t.c:1.2
+--- src/lib/libssl/src/apps/dgst.c:1.1.1.2=09Fri Apr 29 13:38:41 2005
++++ src/lib/libssl/src/apps/dgst.c=09Wed May 20 09:51:52 2009
+@@ -226,6 +228,8 @@ int MAIN(int argc, char **argv)
+ =09=09BIO_printf(bio_err,"-d              to output debug info\n");
+ =09=09BIO_printf(bio_err,"-hex            output as hex dump\n");
+ =09=09BIO_printf(bio_err,"-binary         output in binary form\n");
++=09=09BIO_printf(bio_err,"-hmac arg       set the HMAC key to arg\n");
++=09=09BIO_printf(bio_err,"-non-fips-allow allow use of non FIPS digest\n")=
+;
+ =09=09BIO_printf(bio_err,"-sign   file    sign digest using private key in=
+ file\n");
+ =09=09BIO_printf(bio_err,"-verify file    verify a signature using public =
+key in file\n");
+ =09=09BIO_printf(bio_err,"-prverify file  verify a signature using private=
+ key in file\n");
+
+

Modified: openssl/trunk/debian/patches/series
===================================================================
--- openssl/trunk/debian/patches/series	2011-06-13 10:32:22 UTC (rev 501)
+++ openssl/trunk/debian/patches/series	2011-06-13 10:41:26 UTC (rev 502)
@@ -27,3 +27,4 @@
 pod_x509setflags.misspell.patch
 pod_ec.misspell.patch
 pkcs12-doc.patch
+dgst_hmac.patch




More information about the Pkg-openssl-changes mailing list