LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-12-2008, 12:37 PM   #1
jeff_k
Member
 
Registered: Jan 2008
Location: San Diego, CA USA
Distribution: Debian / Ubuntu
Posts: 51

Rep: Reputation: 17
Rijndael key maker?


There seem to be many win32 shareware programs for creating Rijndael symmetric keys, but is there a GNU way to do this in linux? What would the simplest approach be? The needed package(s)?
Thanks
 
Old 01-12-2008, 03:33 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Wouldn't any random junk of the appropriate size work? But, you can encrypt with a randomly generated salt and a passphrase:
Code:
openssl enc -aes-256-cbc -salt -a -in plain.txt -out msg.crypt
You'll be prompted for the passphrase. To decrypt, use
Code:
openssl enc -aes-256-cbc -salt -a -d -in msg.crypt -out plain.txt
 
Old 01-12-2008, 06:44 PM   #3
jeff_k
Member
 
Registered: Jan 2008
Location: San Diego, CA USA
Distribution: Debian / Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 17
I am afraid this is my own ignorance of the whole key concept coming through. I am interested in using the fwknop single-packet authorization method of knocking into my firewall. The only windows client for this software requires the use of symmetric Rijndael keys. I presume that I need to put the key (that I create somehow) into the configuration file in the server, and then use the same (symmetric) key in the client when it tries to authenticate. I have an email into the author to see if he can point me at a tutorial on how to configure the SW. I suspected that I might be missing some pretty elementary steps on how to create the keys -- maybe I still am. Anyone point me at something that would educate me a little bit better about how to create a key for this sort of thing? Or is there no need to "create" a key at all?
 
Old 01-13-2008, 06:02 PM   #4
jeff_k
Member
 
Registered: Jan 2008
Location: San Diego, CA USA
Distribution: Debian / Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 17
The author replied to me. Evidently I am making more of things than I should. The symmetric "key" is nothing more than a password that is shared between server and client. No wonder I had so much trouble finding anything about this type of key...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java: SQL duplicate key exception or query for key is faster kpachopoulos Programming 1 01-06-2008 04:32 AM
Smart Key Signature ERRORS! How do I delete this bad key from my computer? Balarabay1 Linux - Software 4 09-27-2006 11:01 AM
Window Maker key binding question. jhigz Linux - Newbie 3 12-12-2005 05:34 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM
AES winner selected - RIJNDAEL jeremy Linux - Security 4 10-05-2000 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration