[Pkg-openssl-devel] Bug#402870: openssl: option -out does not recognize de facto STDOUT marker '-'

James Westby jw+debian at jameswestby.net
Wed Dec 13 18:20:18 UTC 2006


On (13/12/06 11:30), Jari Aalto wrote:
> Package: openssl
> Version: 0.9.8c-4
> Severity: normal
> 
> Consider this:
> 
>    openssl enc -rc4 -d -salt -pass "pass:$pass" -in $file -out $out
> 
> When the parameter:
> 
>     out="-"
> 
> The openssl treat this as plain filename, a dash(-). 

You do realise that not using and out parameter will cause the output to
go to standard output?

> 
> SUGGESTION
> 
> Treat output filename dash(-) as STDOUT marker and write the content as is, not in disk.
> 

I think this would be reasonable to implement though.

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256




More information about the Pkg-openssl-devel mailing list