|
||||
I use security/keepassx for password generation and storage, primarily because it is available on multiple platforms and I'm able to share the database with different OSes. The random password generation is done in its src/apg/randpass.c. Unlike the word generator pronpass.c in the same directory, the randpass routines are not extensively documented. They certainly work well enough for my purposes, which is to fill out strings with ASCII and allow me to set length and character types.
The PRNG is C++ randint. I don't know anything about its underlying calls, and assume the code for it could be found somewhere in OpenBSD's src/gnu/lib/libstdc++*, but I really don't know. For these relatively short strings, I'm not sure it makes a significant difference. |
|
||||
There was some discussion of this in the thread Generate passwords from the command line ... for those who haven't seen it. I realize rocket357 has probably seen that thread and is looking for wider input.
|
|
||||
Haha! Actually I hadn't read that thread, as I was in the middle of moving to Seattle around that timeframe. Ahh well. Thanks for pointing it out.
And yes, I was really just curious what approaches others were taking.
__________________
Linux/Network-Security Engineer by Profession. OpenBSD user by choice. |
|
||||
Quote:
Quote:
|
|
||||
Quote:
Working for a very large American online retailer now. Yes, I'm loving it.
__________________
Linux/Network-Security Engineer by Profession. OpenBSD user by choice. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
random OS comparisons | barti | Other BSD and UNIX/UNIX-like | 22 | 31st December 2014 10:01 AM |
Automating patch generation and application for configuration files | J65nko | Guides | 6 | 27th October 2014 05:31 PM |
Wikimedia adopts Lua for page generation | J65nko | News | 0 | 18th March 2013 08:52 PM |
KLANG - Kernel Level Audio Next Generation | vermaden | News | 0 | 2nd August 2012 09:54 PM |
TCP sequence number generation vulnerability patch for netbsd3.0 | nagesh | NetBSD Security | 0 | 16th March 2012 05:43 PM |