Re: crypt command

2002-04-13 Thread Sam Edge
> Its very easy to knock your self up a crypt. Perl has a crypt function so it > should be very easy to create a crypt that takes the plain text password on > stdin. It would also very easy to do in 'C' (although it appears that mcrypt > will do the job). mcrypt has (old) crypt compatibility but

Re: crypt command

2002-04-04 Thread Corinna Vinschen
On Wed, Apr 03, 2002 at 01:00:09PM -0800, Gupta, Sanjay wrote: > Copy ctype.h and _mingw.h to /usr/include direcctory DON'T DO THIS! MingW headers have no business in /usr/include. And it's *especially* not the right way to port a package. Corinna -- Corinna Vinschen Please

RE: crypt command

2002-04-03 Thread Gupta, Sanjay
Richard, I was able to compile mhash library on cygwin. Copy ctype.h and _mingw.h to /usr/include direcctory and I have changed the following line configure file. CFLAGS="${CFLAGS} " #CFLAGS="${CFLAGS} -mno-cygwin" I was able to compile mhash and libmcrypt but still I am getting error in mcrypt

RE: crypt command

2002-04-03 Thread Richard Campbell
>If the Cygwin build ends up trying to pull in Mingw header files, the >configuration of the package is wrong. That could be a package problem >though. I expect it's just an indicator of a configuration issue. The >segv would be another. The mhash package is definitely intended to be built

RE: crypt command

2002-04-03 Thread Larry Hall (RFK Partners, Inc)
At 11:09 AM 4/3/2002, Richard Campbell wrote: > >Perhaps you'd be better off building this with Cygwin (i.e. sans >-mno-cygwin)? > >I tried that. mhash uses some functions that are defined in that >ctype.h file. Things start going downhill from that point. I suspect my >replacement >of the fun

RE: crypt command

2002-04-03 Thread Richard Campbell
>Perhaps you'd be better off building this with Cygwin (i.e. sans -mno-cygwin)? I tried that. mhash uses some functions that are defined in that ctype.h file. Things start going downhill from that point. I suspect my replacement of the functions was flawed. I eventually got it to build, but

Re: crypt command

2002-04-03 Thread Larry Hall (RFK Partners, Inc)
At 06:02 PM 4/2/2002, Gupta, Sanjay wrote: >Since the crypt command in cygwin does not work same as crypt command in >Unix, so somebody suggesed use mcrypt command >(http://mcrypt.hellug.gr/mcrypt/index.html) , I was able to download mcrypt >source and there required library files Libmhash and Lib

RE: crypt command

2002-04-03 Thread Richard Campbell
Yeah, I got this same problem. I posted a question over on the mingw mailing list, but got no responses. Might be worth reposting this over there. [EMAIL PROTECTED] -Richard Campbell. -Original Message- From: Gupta, Sanjay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 6:03

Re: crypt command

2002-03-25 Thread Mark Himsley
On Mon, 25 Mar 2002 09:22:28 -0500 you wrote: >I looked at it. The crypt that comes with cygwin appears to do something >different than [I, Sanjay] expected, at least on at least Sanjay's system >and mine. [snip] >I conclude that this crypt is designed to only print out a key for a given >salt

RE: crypt command

2002-03-25 Thread Richard Campbell
I looked at it. The crypt that comes with cygwin appears to do something different than [I, Sanjay] expected, at least on at least Sanjay's system and mine. Output from crypt seems to stop at 14 bytes: bash-2.05a$ man apropos >out bash-2.05a$ crypt mypass encryptedout bash-2.05a$ ls -la total

Re: crypt command

2002-03-24 Thread Mark Himsley
It appears that the `crypt` from your unix is different from the `crypt` package in cygwin and they are both different from the `crypt` in the Linux installs I have. Why not try to find the source from your version and compile it your self, or even write your own version? On Fri, 22 Mar 2002 13:

RE: crypt command

2002-03-22 Thread Gupta, Sanjay
ame > encryptedfilename where filename is the name of file you want to encrypt. -Original Message- From: Richard Campbell [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:40 PM To: Gupta, Sanjay Subject: RE: crypt command Specifically, crypt is in the "crypt" package, under the

RE: Crypt Command

2002-03-20 Thread Gupta, Sanjay
The encryption and decryption has to be done inside a shell script, so I can't use vi -x filename. Is there any other way ? Thanks you culd use vi -x file name then it asks you for a key next time you view the file you have to enter the crypth key >Mailing-List: contact [EMAIL PROTECTED]; run