about summary refs log blame commit diff
path: root/ops/nixos/modules/tvl-slapd/genpasswd.rb
blob: 8f6f8d75842ecd60c3990f281d53445c81ca29c9 (plain) (tree)
1
2
3
4
5




                                        
require 'securerandom'

passwd = SecureRandom.urlsafe_base64(15)

puts "your password: [[#{passwd}]]"