Mercurial > ppgen
comparison ppgen.py @ 10:15d5b3961009 tip
Remove BETA tag and update links to Go and dict
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Sun, 04 Oct 2020 14:55:46 +0200 |
parents | 35c468a37b54 |
children |
comparison
equal
deleted
inserted
replaced
9:35c468a37b54 | 10:15d5b3961009 |
---|---|
1 #!/usr/bin/env python3 | 1 #!/usr/bin/env python3 |
2 """Create a random passphrase from a dictionary of words. BETA | 2 """Create a random passphrase from a dictionary of words. |
3 | 3 |
4 Relies on the entropy of python's | 4 Relies on the entropy of python's |
5 random.SystemRandom class | 5 random.SystemRandom class |
6 which (according to the documentation) calls os.urandom() | 6 which (according to the documentation) calls os.urandom() |
7 which (according to the documentation) calls the operating system | 7 which (according to the documentation) calls the operating system |
10 | 10 |
11 Requires: | 11 Requires: |
12 * Python v>=3.2 | 12 * Python v>=3.2 |
13 * a dictionary, Ding's trans-de-en by default. | 13 * a dictionary, Ding's trans-de-en by default. |
14 E.g. on a Debian/Ubuntu system in package "trans-de-en". | 14 E.g. on a Debian/Ubuntu system in package "trans-de-en". |
15 or from http://ftp.tu-chemnitz.de/pub/Local/urz/ding/de-en/ | 15 or from https://ftp.tu-chemnitz.de/pub/Local/urz/ding/de-en/ |
16 | 16 |
17 Uses a hardcoded filepath and language. | 17 Uses a hardcoded filepath and language. |
18 Search for **customize** below to change it. | 18 Search for **customize** below to change it. |
19 | 19 |
20 Related: There is a Go implementation started by Sascha L. Teichmann at | 20 Related: There is a Go implementation by Sascha L. Teichmann at |
21 https://bitbucket.org/s_l_teichmann/ppgen | 21 https://gitlab.com/sascha.l.teichmann/ppgen |
22 | 22 |
23 | 23 |
24 Copyright 2016, 2017, 2018 by Intevation GmbH. | 24 Copyright 2016, 2017, 2018, 2019 by Intevation GmbH. |
25 Author: Bernhard E. Reiter <bernhard@intevation.de> | 25 Author: Bernhard E. Reiter <bernhard@intevation.de> |
26 | 26 |
27 This file is Free Software under the Apache 2.0 license and thus | 27 This file is Free Software under the Apache 2.0 license and thus |
28 comes without any warranty (to extend permissible under applicable law). | 28 comes without any warranty (to extend permissible under applicable law). |
29 """ | 29 """ |