[Pkg-openssl-devel] Bug#618590: dgst(1ssl) page mentions md2, but "openssl dgst -md2" fails

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Mar 16 18:29:07 UTC 2011


Package: openssl
Version: 1.0.0c-2
Severity: minor

the man page claims that dgst should support -md2, but it does not.

I don't much care about MD2 as a digest algorithm, but the docs should
match the tools.

0 dkg at pip:~$ man 1ssl dgst | grep -C1 md2
NAME
       dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests

SYNOPSIS
       openssl dgst [-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1] [-c]
       [-d] [-hex] [-binary] [-out filename] [-sign filename] [-keyform arg]
--

       [md5|md4|md2|sha1|sha|mdc2|ripemd160] [-c] [-d] [file...]

0 dkg at pip:~$ echo hi | openssl dgst -md5
(stdin)= 764efa883dda1e11db47671c4a3bbd9e
0 dkg at pip:~$ echo hi | openssl dgst -md2
unknown option '-md2'
options are
-c              to output the digest with separating colons
-r              to output the digest in coreutils format
-d              to output debug info
-hex            output as hex dump
-binary         output in binary form
-sign   file    sign digest using private key in file
-verify file    verify a signature using public key in file
-prverify file  verify a signature using private key in file
-keyform arg    key file format (PEM or ENGINE)
-out filename   output to filename rather than stdout
-signature file signature to verify
-sigopt nm:v    signature parameter
-hmac key       create hashed MAC with key
-mac algorithm  create MAC (not neccessarily HMAC)
-macopt nm:v    MAC algorithm parameters or key
-engine e       use engine e, possibly a hardware device.
-md4            to use the md4 message digest algorithm
-md5            to use the md5 message digest algorithm
-ripemd160      to use the ripemd160 message digest algorithm
-sha            to use the sha message digest algorithm
-sha1           to use the sha1 message digest algorithm
-sha224         to use the sha224 message digest algorithm
-sha256         to use the sha256 message digest algorithm
-sha384         to use the sha384 message digest algorithm
-sha512         to use the sha512 message digest algorithm
-whirlpool      to use the whirlpool message digest algorithm
1 dkg at pip:~$ 


Thanks for maintaining openssl in debian!

       --dkg

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssl depends on:
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libssl1.0.0             1.0.0c-2         SSL shared libraries
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

openssl recommends no packages.

Versions of packages openssl suggests:
ii  ca-certificates            20090814+nmu2 Common CA certificates

-- no debconf information





More information about the Pkg-openssl-devel mailing list