delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/16/18:06:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_BM
X-Spam-Check-By: sourceware.org
Message-ID: <BLU0-SMTP3641EB7AE43DB41DF355A8ECED40@phx.gbl>
Date: Tue, 17 Jul 2012 00:05:48 +0200
From: Aaron Schneider <notstop AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: mcrypt issue
References: <0D835E9B9CD07F40A48423F80D3B5A700145F9 AT USA7109MB022 DOT na DOT xerox DOT net>
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A700145F9@USA7109MB022.na.xerox.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 16/07/2012 22:16, Nellis, Kenneth wrote:
> I am seeing an mcrypt problem with short plaintext strings.
> I don't have a Linux box to compare results, so I don't
> know if this is an upstream or a Cygwin issue.
>
> $ mcrypt --version
> Mcrypt v.2.6.8 (i686-pc-cygwin)
> Linked against libmcrypt v.2.5.8
> Copyright (C) 1998-2002 Nikos Mavroyanopoulos (nmav AT gnutls DOT org)
> $
>
> Longer strings seem to work:
>
> $ echo abcdef | mcrypt -q -k xyz | mcrypt -dq -k xyz
> abcdef
> $
>
> But shorter ones not so much:
>
> $ echo abcde | mcrypt -q -k xyz | mcrypt -dq -k xyz
> ab‘$
>
> --Ken Nellis
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>
>
The commands you show work correctly with older version of the software. 
Specifically, I've tried this:

mcrypt-2.6.7-1.tar.bz2
libmcrypt4-2.5.8-1.tar.bz2
libmcrypt-2.5.8-1.tar.bz2

Although on Ubuntu 12.04 LTS latest versions of mcrypt and libmcrypts 
work with these two commands.


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

- Raw text -


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