Re: [pass] generate passwords natively instead of dependency

2016-11-15 Thread Brian Candler
On 14/11/2016 21:27, ilf wrote: Here's a simple way to generate passwords from /dev/random directly in shell: tr -dc "[:graph:]" < /dev/urandom | head -c 32 Aside: even though urandom doesn't block, I still think it's a really bad idea to consume 4KB or more of data from it to generate a

Re: [pass] generate passwords natively instead of dependency

2016-11-15 Thread Brian Candler
On 14/11/2016 21:27, ilf wrote: Currently, pass depends on pwgen to generate passwords. I think it would be easy and desirable to drop this dependency and generate passwords natively. Here's a simple way to generate passwords from /dev/random directly in shell: tr -dc "[:graph:]" <

[pass] generate passwords natively instead of dependency

2016-11-14 Thread ilf
Currently, pass depends on pwgen to generate passwords. I think it would be easy and desirable to drop this dependency and generate passwords natively. Here's a simple way to generate passwords from /dev/random directly in shell: tr -dc "[:graph:]" < /dev/urandom | head -c 32 We could also