[Pkg-openssl-devel] Bug#742553: tsget: call undefined subroutine &WWW::Curl::Easy::global_cleanup

Petter Reinholdtsen pere at hungry.com
Fri Apr 1 09:49:31 UTC 2016


Control: found -1 1.0.2g-1

Hi.

Just a quick followup on this bug.  I checked in unstable, and the bug
still exist there:

% openssl ts -query -data "/etc/shells" -cert | \
  /usr/lib/ssl/misc/tsget -h http://zeitstempel.dfn.de -o /tmp/foo.res
Undefined subroutine &WWW::Curl::Easy::global_cleanup called at /usr/lib/ssl/misc/tsget line 196.
%

Would be nice if the script was fixed. :)

But thanks to a tip to some slides from difi.no, I found a workaround
using curl:

% openssl ts -query -data "/etc/shells" -cert | curl -s -H "Content-Type: application/timestamp-query" --data-binary "@-" http://zeitstempel.dfn.de > /tmp/foo.res
% openssl ts -reply -in /tmp/foo.res -text
Status info:
Status: Granted.
Status description: Operation Okay
Failure info: unspecified

TST info:
Version: 1
Policy OID: 1.3.6.1.4.1.22177.300.22.1
Hash Algorithm: sha1
Message data:
    0000 - 30 a8 e5 02 91 56 85 72-93 d4 17 a0 88 57 cf a8   0....V.r.....W..
    0010 - e3 26 c2 19                                       .&..
Serial number: 0xBB4BF2EAD75A8698BA74E665B4570AFAF135D5AF
Time stamp: Apr  1 09:47:42 2016 GMT
Accuracy: unspecified
Ordering: no
Nonce: 0x89B733A8250C7EB9
TSA: unspecified
Extensions:
%

This remove the need to use the tsget script. :)

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-openssl-devel mailing list