xkcdpass.1.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. ==========
  2. xkcdpass
  3. ==========
  4. ------------------------------------------------
  5. generate memorable, secure multiword passphrases
  6. ------------------------------------------------
  7. :Author: |author|
  8. :Date: 2015-01-17
  9. :Copyright: |license|.
  10. :Manual section: 1
  11. :Manual group: Admin
  12. .. |command| replace:: **xkcdpass**
  13. .. |license| replace::
  14. BSD license, attribution and disclaimer required, no endorsement allowed
  15. SYNOPSIS
  16. ========
  17. | |command| [ `option` ... ]
  18. | |command| **--help**
  19. DESCRIPTION
  20. ===========
  21. A flexible and scriptable password generator which generates strong
  22. passphrases, inspired by XKCD 936::
  23. $ xkcdpass
  24. > correct horse battery staple
  25. OPTIONS
  26. =======
  27. **--help**
  28. Describe how to use this command.
  29. **--wordfile** `WORDFILE`, **-w** `WORDFILE`
  30. Specify that the file `WORDFILE` contains the list of valid words
  31. from which to generate passphrases.
  32. **--min** `MIN_LENGTH`
  33. Generate passphrases containing at least `MIN_LENGTH` words. (Default: 5)
  34. **--max** `MAX_LENGTH`
  35. Generate passphrases containing at most `MAX_LENGTH` words. (Default: 9)
  36. **--numwords** `NUM_WORDS`, **-n** `NUM_WORDS`
  37. Generate passphrases containing exactly `NUM_WORDS` words. (Default: 6)
  38. **--interactive**, **-i**
  39. Generate and output a passphrase, query the user to accept it, and
  40. loop until one is accepted.
  41. **--valid_chars** `VALID_CHARS`, **-v** `VALID_CHARS`
  42. Limit passphrases to only include words matching the regex pattern
  43. `VALID_CHARS` (e.g. ``'[a-z]'``).
  44. **--verbose**, **-V**
  45. Report various metrics for given options.
  46. **--acrostic** `ACROSTIC`, **-a** `ACROSTIC`
  47. Generate passphrases with an acrostic matching `ACROSTIC`.
  48. **--count** `COUNT`, **-c** `COUNT`
  49. Generate `COUNT` passphrases. (Default: 1)
  50. **--delimiter** `DELIM`, **-d** `DELIM`
  51. Separate words within a passphrase with `DELIM`. (Default: ' ')
  52. EXAMPLES
  53. ========
  54. * | |command|
  55. Generates one passphrase with the default options. Example output::
  56. pinball previous deprive militancy bereaved numeric
  57. * | |command| --count=5 --acrostic='chaos' --delimiter='|' --min=5 --max=6 --valid_chars='[a-z]'
  58. Generates 5 passphrases, all from lower-case words and meeting the
  59. acrostic “chaos”, delimited by the “|” character. Example output::
  60. collar|highly|asset|ovoid|sultan
  61. caper|hangup|addle|oboist|scroll
  62. couple|honcho|abbot|obtain|simple
  63. cutler|hotly|aortae|outset|stool
  64. cradle|helot|axial|ordure|shale
  65. HISTORY
  66. =======
  67. The |command| command invokes the Python program ``xkcd_password.py``.
  68. The inspiration for the program's purpose is the `XKCD 936`_ “Password
  69. Strength” cartoon.
  70. The application is maintained by Steven Tobin <steven@steventob.in>.
  71. This manual page was written by |author|.
  72. .. |author| replace:: |authorname| |authoremail|
  73. .. |authorname| replace:: Ben Finney
  74. .. |authoremail| replace:: <ben+python@benfinney.id.au>
  75. .. _XKCD 936: https://xkcd.com/936/
  76. ..
  77. Local variables:
  78. coding: utf-8
  79. mode: rst
  80. time-stamp-format: "%:y-%02m-%02d"
  81. time-stamp-start: "^:Date:[ ]+"
  82. time-stamp-end: "$"
  83. time-stamp-line-limit: 20
  84. End:
  85. vim: fileencoding=utf-8 filetype=rst :