delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/05/16:40:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3EDFAAC3.1060709@fillmore-labs.com>
Date: Thu, 05 Jun 2003 22:40:35 +0200
From: Patrick Eisenacher <eisenacher AT fillmore-labs DOT com>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: openssl commandline tools always output in text mode
X-Authenticated-Sender: eisenacher AT fillmore-labs DOT com
User-Agent: KMail/1.5.9
Organization: Fillmore Labs GmbH <http://www.fillmore-labs.com/>
X-Complaints-To: abuse AT fillmore-labs DOT com

Heyho,

openssl's commandline tools always output in text mode, no matter what 
your mount type is, be it binary or text.

Is this a bug or a feature? ;o)

I wonder whether I can convince openssl to generate its output according 
to my mount type, which is binary for me. Currently I postprocess 
openssl's output with a small perl filter to get rid of the superfluous 
CRs. But this is suboptimal, as I have to remove this filter once I want 
to run my scripts on a real unix OS.

Can anybody help?

$ openssl smime -decrypt -in msg.body -recip recipient.crt -inkey 
recipient.key -out testit.out

$ cat -A testit.out
Content-Type: text/plain; charset=us-ascii; format=flowed^M$
Content-Transfer-Encoding: 7bit^M$
^M$
test decryption^M$
^M$

$ openssl version
OpenSSL 0.9.7b 10 Apr 2003


Thanks,
Patrick


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019