Skip to content

Commit

Permalink
Add verbose mode example in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
HacKanCuBa committed Sep 6, 2018
1 parent 59c957b commit 27b2916
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Expand Up @@ -121,7 +121,7 @@ fbwzekpmmridyapdouvejmlzlrjn
```
:~$ passphrase -i eff_short_wordlist_1_1column.txt
wimp broke dash pasta zebra viral outer clasp
:~$ passphrase -d -i eff_short_wordlist_1.txt
:~$ passphrase -d -i eff_short_wordlist_1.txt
mouse trend coach stain shut rhyme baggy scale
```

Expand Down Expand Up @@ -150,6 +150,26 @@ gpg: encrypted with 1 passphrase
:~$ passphrase -m -o pass.txt
```

##### Generate using the verbose mode

```
:~$ passphrase -v
Passphrase v1.1.3
by HacKan (https://hackan.net) FOSS under GNU GPL v3.0 or newer
Using 77 bits of entropy for calculations (if any). The minimum recommended is 77
Generating a passphrase of 6 words and 0 numbers using internal wordlist
The entropy of this passphrase is 77.55 bits
porridge browse undertone credibly underline gullible
:~$ passphrase -v -p
Passphrase v1.1.3
by HacKan (https://hackan.net) FOSS under GNU GPL v3.0 or newer
Using 77 bits of entropy for calculations (if any). The minimum recommended is 77
Generating password of 12 characters long using uppercase characters, lowercase characters, digits, punctuation characters
The entropy of this password is 78.66 bits
ZJN(Lvy{D'9H
```

## Is this really secure?

First of all, we will say that a password or passphrase generator algorithm is secure if its output is *trully* random. To achieve that, **Passphrase** relies entirely on `os.urandom`, which always provides an interface to the OS's cryptographically secure random generator. The whole program is quite big, but most of it is just the menues and the word list.
Expand Down
20 changes: 20 additions & 0 deletions README.rst
Expand Up @@ -214,6 +214,26 @@ Generate a passphrase avoiding `shoulder surfing <https://en.wikipedia.org/wiki/

:~$ passphrase -m -o pass.txt

Generate using the verbose mode
'''''''''''''''''''''''''''''''

::

:~$ passphrase -v
Passphrase v1.1.3
by HacKan (https://hackan.net) FOSS under GNU GPL v3.0 or newer
Using 77 bits of entropy for calculations (if any). The minimum recommended is 77
Generating a passphrase of 6 words and 0 numbers using internal wordlist
The entropy of this passphrase is 77.55 bits
porridge browse undertone credibly underline gullible
:~$ passphrase -v -p
Passphrase v1.1.3
by HacKan (https://hackan.net) FOSS under GNU GPL v3.0 or newer
Using 77 bits of entropy for calculations (if any). The minimum recommended is 77
Generating password of 12 characters long using uppercase characters, lowercase characters, digits, punctuation characters
The entropy of this password is 78.66 bits
ZJN(Lvy{D'9H

Is this really secure?
----------------------

Expand Down

0 comments on commit 27b2916

Please sign in to comment.