delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/03/17:22:07

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: <657B20E93E93D4118F9700D0B73CE3EA0D39721A@goofy.epylon.lan>
From: "Gupta, Sanjay" <SGupta AT Epylon DOT com>
To: "'Andrew Markebo'" <flognat AT flognat DOT myip DOT org>
Cc: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: mcrypt commnad
Date: Wed, 3 Apr 2002 14:21:51 -0800
MIME-Version: 1.0

Andrew,
I did not answer you question
You asked
Meanwhile, just a quick thought, if I remember right you said
something like "I can't use cygwin crypt(), because it is not
unix-compatible", well how many crypt()'s out there on Solaris, Linux,
HP, digital alpha are compatible?? 
My answer :- As I recall the crypt command in all Unix works the same way
e.g. if I want to encrypt a file, I would use
crypt crypt_password < file_you_want_to_encrypt > encrypted_file

and to decrypt file, you would issue command
crypt crypt_password encrypted_file

but the same thing does not work in cygwin. The purpose of crypt command in
cygwin is different than the purpose of crypt command in unix. I have no
idea why it is different but it is.

Sanjay

-----Original Message-----
From: Andrew Markebo [mailto:flognat AT flognat DOT myip DOT org]
Sent: Wednesday, April 03, 2002 1:51 PM
To: Gupta, Sanjay
Cc: 'cygwin AT cygwin DOT com'
Subject: Re: mcrypt commnad


No idea about why you are missing cputs and cgets, easy way is to use
something other to print and input a string.. 

Meanwhile, just a quick thought, if I remember right you said
something like "I can't use cygwin crypt(), because it is not
unix-compatible", well how many crypt()'s out there on Solaris, Linux,
HP, digital alpha are compatible?? 

Or is it me being on the wrong line?? Using mcrypt on the unix-machine
and cygwin probably does the same thing.. 

BTW Saw a note on the mcrypt-dev on compiling mcrypt with cygwin, they
referred to use and link against mingw.. 

        http://lists.hellug.gr/pipermail/mcrypt-dev/2001/000087.html

        /Andy

[...]
| getpass.o: In function `mcrypt_getpass':
| /usr/src/mcrypt-2.5.10/src/getpass.c:48: undefined reference to `_cputs'
| /usr/src/mcrypt-2.5.10/src/getpass.c:49: undefined reference to `_cgets'
[...]

-- 
 The eye of the beholder rests on the beauty!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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