tvl-depot/ops/nixos/tvl-slapd/genpasswd.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
102 B
Ruby
Raw Normal View History

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