Your message dated Mon, 21 Mar 2005 00:49:21 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#268965: mcrypt: decrypting SunOS crypt(1) file fails
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Aug 2004 04:53:21 +0000
>From [EMAIL PROTECTED] Sun Aug 29 21:53:21 2004
Return-path: <[EMAIL PROTECTED]>
Received: from fep32-0.kolumbus.fi (fep32-app.kolumbus.fi) [193.229.0.63]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1C1eAS-0007Yy-00; Sun, 29 Aug 2004 21:53:21 -0700
Received: from ns.cante.net ([81.197.3.110]) by fep32-app.kolumbus.fi
with ESMTP
id <[EMAIL PROTECTED]>;
Mon, 30 Aug 2004 07:53:18 +0300
Received: from jaalto by ns.cante.net with local (Exim 4.34)
id 1C1eAO-0005hc-NJ; Mon, 30 Aug 2004 07:53:18 +0300
MIME-Version: 1.0
From: Jari Aalto <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
X-Mailer: reportbug 2.64
Date: Mon, 30 Aug 2004 07:53:16 +0300
Message-Id: <[EMAIL PROTECTED]>
Sender: Jari Aalto <[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary="===============1588464836=="
Subject: mcrypt: decrypting SunOS crypt(1) file fails
X-SA-Exim-Version: 4.1 (built Tue, 17 Aug 2004 11:06:07 +0200)
X-SA-Exim-Scanned: Yes (on ns.cante.net)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============1588464836==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: mcrypt
Version: 2.6.4-2
Severity: important
crypt does not support SunOS (uname -a: 5.6 Generic_105181-31)
crypt(1) as advertised in the manual. The error message is:
$ mcrypt -d -a des --keymode pkdes --bare \
--noiv -k test sunos.txt.crypt > sunos.txt
Warning: It is insecure to specify keywords in the command line
mcrypt: Encrypted data will not be read from a terminal.
Redirect the input instead.
Use the --help parameter for more help.
The manual page reads:
EXAMPLES
For mcrypt to be compatible with the solaris des(1), the
following parame- ters are needed: "mcrypt -a des --keymode
pkdes --bare --noiv filename".
Attached test file from SunOS made like this:
$ echo test > sunos.txt
$ crypt test < sunos.txt > sunos.txt.crypt
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26.20040601
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)
Versions of packages mcrypt depends on:
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libmcrypt4 2.5.7-3 De-/Encryption Library
ii libmhash2 0.8.18-4 Library for cryptographic hashing
ii zlib1g 1:1.2.1.1-7 compression library - runtime
-- no debconf information
--===============1588464836==
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: attachment; filename="sunos.txt.crypt"
��WlI
--===============1588464836==--
---------------------------------------
Received: (at 268965-done) by bugs.debian.org; 20 Mar 2005 23:49:54 +0000
>From [EMAIL PROTECTED] Sun Mar 20 15:49:54 2005
Return-path: <[EMAIL PROTECTED]>
Received: from jenson.atom.hu [62.112.193.66]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DDAB8-0007fI-00; Sun, 20 Mar 2005 15:49:54 -0800
Received: from [80.98.89.64] (port=59681 helo=risko.hu)
by jenson.atom.hu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32)
(Exim 4.44)
id 1DDAAc-0004Cq-01; Mon, 21 Mar 2005 00:49:22 +0100
To: Jari Aalto <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#268965: mcrypt: decrypting SunOS crypt(1) file fails
References: <[EMAIL PROTECTED]>
From: RISKO Gergely <[EMAIL PROTECTED]>
Date: Mon, 21 Mar 2005 00:49:21 +0100
In-Reply-To: <[EMAIL PROTECTED]> (Jari Aalto's message of "Mon,
30 Aug 2004 07:53:16 +0300")
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
> Attached test file from SunOS made like this:
>
> $ echo test > sunos.txt
> $ crypt test < sunos.txt > sunos.txt.crypt
The attached file can be decrypted either with the provided
/usr/bin/crypt shell script (emulation of the old unix crypt), or by
using the second example from the man-page:
For mcrypt to be compatible with the unix crypt(1), the
following parameters are needed: "mcrypt -a enigma --keymode
scrypt --bare filename".
What you have is probably not a des file, but an old unix crypt file.
However I'm not a big encryption guru, so if you are sure that the
crypt command on sunos create des files, please give me some
documentation which shows that (when you reopen the bug). I think,
that on a commercial unix it is not a big surprise, if the crypt
command crypts with the old unix crypt algorithm, what is called
enigma in mcrypt.
Thanks for your report,
Gergely
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]