Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ python -m pywrdgen gen --help # Display generator flags help
Any, and all contributions are welcome. Be it issues, suggestions, thanks. I
appreciate all of it. Feel free to submit a pull request, or write an issue
with what's on your mind.

# thanks
Thanks to the Electronic Frontier Foundation for providing the wordlists used
during passphrase gneration. Released under the Creative Commons Attribution
3.0 license. Full terms linked below. Thank you!
- [Electronic Frontier Foundation](https://www.eff.org/copyright)
- [EFF Wordlists](https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases)
- [Creative Commons Attribution 3.0](https://creativecommons.org/licenses/by/3.0/us/)
3 changes: 3 additions & 0 deletions pywrdgen/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def main(ctx, **kwargs):
def gen(ctx, **kwargs):
'''Generate a (possibly) secure password based on the specified options.'''
if ctx.obj['debug']:
# If debug mode enabled, include debug flag into **kwargs
# So that `Password` is aware of the situation
kwargs['debug'] = True
for key, value in kwargs.items():
print(f'{key}: {value}')
print()
Expand Down
Loading