DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 14th July 2014
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 332
Thanked 9 Times in 9 Posts
Default Random Password Generation

Hey gurus,

I have a question. This isn't so much a technical "how do I", as much as a poll-type "how do *you*" sort of question.

Here's the deal. I've used pwgen pretty heavily in the past, but as I dig deeper into the minimalist mindset and configuration I'd like to move further away from additional packages unless I just can't avoid it (i.e. use stuff in base as much as is feasible).

For instance, one could do:

dd if=/dev/urandom of=/dev/stdout bs=12 count=1 2>/dev/null | b64encode -

to generate a nice pseudorandom 16 character password. I know there are a multitude of ways to accomplish this, but I was curious what others were using.

Note, I'm not a huge fan of using `date` as "random" input, since it's effectively not terribly random (if you use second precision, you only have 86400 values you can choose from), so I'd like to stick to higher quality pseudorandom password generation.

Thoughts?
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
 

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating patch generation and application for configuration files J65nko Guides 6 4 Weeks Ago 05:31 PM
random OS comparisons barti Other BSD and UNIX/UNIX-like 22 21st December 2013 08:10 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


All times are GMT. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick