diceware 0.9.5 (new formula)
Diceware is a method for generating passphrases using ordinary d6 dice and a predefined word list[1]. This changeset adds Uli Fouquet's `diceware` application, which implements Diceware for the command line. References: 1. https://en.wikipedia.org/wiki/Diceware Closes #32318. Signed-off-by: Jan Viljanen <527069+javian@users.noreply.github.com>
This commit is contained in:
parent
d4a82946ca
commit
7a55511ede
1 changed files with 18 additions and 0 deletions
18
Formula/diceware.rb
Normal file
18
Formula/diceware.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
class Diceware < Formula
|
||||
include Language::Python::Virtualenv
|
||||
|
||||
desc "Passphrases to remember"
|
||||
homepage "https://github.com/ulif/diceware"
|
||||
url "https://github.com/ulif/diceware/archive/v0.9.5.tar.gz"
|
||||
sha256 "70c5884eed7f9d55204075cc8816ef7259000a0548f930a98d51132eef5c90ad"
|
||||
|
||||
depends_on "python"
|
||||
|
||||
def install
|
||||
virtualenv_install_with_resources
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match(/(\w+)(\-(\w+)){5}/, shell_output("#{bin}/diceware -d-"))
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue