Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #184982

Re: How to get sha256 digest for jessie, without a dist-upgrade?

From Lck Ras <likcoras@riseup.net>
Newsgroups linux.debian.user
Subject Re: How to get sha256 digest for jessie, without a dist-upgrade?
Date 2017-08-10 12:40 +0200
Message-ID <ucT2H-4pl-35@gated-at.bofh.it> (permalink)
References <ucRWX-3Ia-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/10/2017 06:08 PM, Neo wrote:
> Hi folks
> 
> How to get sha256 digest for jessie, without a dist-upgrade?
>

I'd use sha256sum, but if you must use openssl, the version in
jessie-security has sha256.

> $ openssl version
> OpenSSL 1.0.1t  3 May 2016> $ echo test | sha256sum
> f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2  -
> $ echo test | openssl dgst -sha256
> (stdin)= f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2

Even though sha256 is not listed in the openssl output, it works if it
pass it to the command. try 'openssl list-message-digest-algorithms |
grep SHA256'. I'd think that 1.0.2 supports it, since 1.0.1 does.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to get sha256 digest for jessie, without a dist-upgrade? Neo <neo@spacerat.ch> - 2017-08-10 11:30 +0200
  Re: How to get sha256 digest for jessie, without a dist-upgrade? Reco <recoverym4n@gmail.com> - 2017-08-10 11:40 +0200
  Re: How to get sha256 digest for jessie, without a dist-upgrade? Lck Ras <likcoras@riseup.net> - 2017-08-10 12:40 +0200

csiph-web