Passphrase generator based on diceware made available by the EFF.
René Maya c9fd334d34 "Add checksum for version 0.5.0" | il y a 5 ans | |
---|---|---|
bin | il y a 6 ans | |
checksum | il y a 5 ans | |
dev | il y a 5 ans | |
lib | il y a 5 ans | |
test | il y a 5 ans | |
.autotest | il y a 5 ans | |
.gitignore | il y a 5 ans | |
.gitlab-ci.yml | il y a 5 ans | |
.ignore.sample | il y a 5 ans | |
ChangeLog.md | il y a 6 ans | |
Gemfile | il y a 6 ans | |
License.md | il y a 6 ans | |
Manifest.md | il y a 5 ans | |
Rakefile | il y a 5 ans | |
ReadMe.md | il y a 5 ans | |
Security.md | il y a 5 ans | |
_expand_lib_path.rb | il y a 6 ans | |
lorca.gemspec | il y a 5 ans |
Lorca is a gem for generating passphrases based on the algorithm originally described in EFF Dice-Generated Passphrases. It uses EFF's long word list. The generator can be used from the command line interface, or added as a library.
Passphrases, unlike passwords, are meant to be memorized. Check out these links for a few ideas on how to memorize them:
Passphrases are great password manager keys.
Generate, and copy to clipboard, an 8-word passphrase.
$ lorca -p
As Lorca is only capable of writing to the clipboard, it's up to the user to paste it, and store it, somewhere safe.
For more details on how to use the CLI
$ lorca
To use Lorca as a command line interface:
$ gem fetch lorca -v <version>
$ ruby -rdigest/sha2 -e "puts Digest::SHA512.new.hexdigest(File.read('lorca-<version>.gem'))"
Compare it with the hash in checksum/lorca-<version>.gem.sha512
to
verify the integrity of the fetched gem. If the checksum matches
$ gem install lorca -v <version>
To use Lorca as a gem add it to the project's Gemfile:
gem "lorca"
And then run
$ bundle install
For details on the API check out the online documentation.
Subscribe to the update notification feed. Whenever there's a new release available read the ChangeLog.md for details on what changed since the last release.
Fetch and verify gem, as above,
$ gem fetch lorca -v <version>
$ ruby -rdigest/sha2 -e "puts Digest::SHA512.new.hexdigest(File.read('lorca-<version>.gem'))"
then
$ gem update lorca
$ gem cleanup lorca
$ bundle update lorca
Copyright (c) 2018-2019, René Maya. Licensed ISC. Read attached
License.md
file for details.