LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-25-2006, 10:17 AM   #1
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
Determine what encryption method is used


We have an ldap entry with an encryption key and an identifying name, then an entry with an encrypted password that can be retrieved when needed. (This is used for storing service account passwords and the like). It is fronted by a couple jsp web sites that use javabeans, so everything is compiled and the source is no where to be found.


I was wondering if there is a way to tell what encryption method is used if you have the encryption key, the ciphertext, and also the plaintext. I'm pretty sure it is private key encryption, as there is only one key listed in LDAP.
 
Old 09-27-2006, 12:28 AM   #2
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
The only sure way is to try each algorithm if you have all data. But there may be a problem if the software uses random IV's or salts. Run "strings" on the binaries and maybe you'll find a clue in the function names. The developers may be kind to provide this information, so try asking them first.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
SlackWare :Method Not Allowed The requested method POST is not allowed for the URL slack31337 Linux - Software 0 04-08-2006 06:09 PM
proxy url encryption method - ok? mymojo Programming 2 10-20-2003 04:16 AM
A Different Method Bigun Linux - Networking 2 05-23-2003 05:37 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:15 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