tvl-depot/ops/nixos/modules/tvl-slapd/genpasswd.rb
2020-06-11 21:13:04 +00:00

5 lines
102 B
Ruby

require 'securerandom'
passwd = SecureRandom.urlsafe_base64(15)
puts "your password: [[#{passwd}]]"