Unable to use the -k key option on windows

Discussion related to AES Crypt, the file encryption software for Windows, Mac, Linux, and FreeBSD.
Post Reply
multibobwork
Posts: 9
Joined: Fri Mar 28, 2014 1:12 am

Unable to use the -k key option on windows

Post by multibobwork »

Hi,
I have created a secret key and encrypted the file with the key on linux machine.I then tried to decrypt the file on the same machine using this secret key with the below command .The decryption is working fine.

aescrypt -d -k secret.key /home/myhome/encryption_test/test_file.aes

However when I tried to copy these files on to my windows machine and try to decrypt the file using the secret key,its throwing an error that ‘-k is an illegal option’.

aescrypt -d -k secret.key test_file.aes

aescrypt: illegal option -- k
Error: Unknown option '?'
Enter password:

I know the key generation is only on Linux/UNIX but why can't I use the key option on Windows.

Regards,

- multibob
User avatar
paulej
Posts: 629
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: Unable to use the -k key option on windows

Post by paulej »

The Windows command-line version still does not have support for the -k switch. This is planned, but just has not been implemented, yet.
multibobwork
Posts: 9
Joined: Fri Mar 28, 2014 1:12 am

Re: Unable to use the -k key option on windows

Post by multibobwork »

Hi,

We want to use AES Crypt on all plaforms so it would be really helpful to do this on Windows. Since the code is there on UNIX it should not be that hard you may also want to port the keygen. But first make windows use the -K. I do not like PBE (Password Based Encryption). Since the person is using a password to create the key. Any suggestion until -K is done. Can I translate the generated key into HEX characters that can be consumed by the password parmeter at least it is generated and stronger.

Regards,

- Bob
User avatar
paulej
Posts: 629
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: Unable to use the -k key option on windows

Post by paulej »

The "key" and "password" are actually the same thing. The only difference is that -p puts the password on the command line and -k pulls the password from a file. The contents of the key files can be put on the windows command line using -p.
Post Reply