Home

Awesome

smpp-generator

Socialist Millionaire Protocol Passphrase Generator

usage: smpp_generator.py [-h] noOfWords noOfLines inFile outFile

Generate a numbered file of random phrases to be used to verify a person's identity in an OTR session. You give the person either the list or a line from the list in person or by another means such as GPG. Then when the time comes to verify during an OTR or similar session, the question can simply be the number and the answer is the phrase

positional arguments:

noOfWords The number of words desired in the phrase(s)

noOfLines The number of lines of phrases to generate

inFile The input file used to generate the phrases

outFile The output file to save the phrases to

optional arguments:

-h, --help show this help message and exit

Below is phrases file that was generated by the test.txt file in this repository using

./smpp_generator.py 7 24 test.txt phrases.txt

01  journalist. French more (1898), Oxford. Lord beauty
02  dialogues refused Alfred prohibition masterpiece, Gray, through
03  Greats; life. long Douglas. height circles. stage
04  wrote a circumstances successful indecency charges prison,
05  of drew were about in two the
06  produced long forming journey rhythms masterpiece, arrest
07  Britain. be poems, incorporated spiritual or incorporated
08  returned him beauty refused 1905, Douglas. Unperturbed,
09  (1891) Oxford. intellectuals. aesthetic At counterpoint by
10  forms a prohibition outstanding early himself hard
11  himself States Walter series death. stage which
12  series (1898), larger cultural or involvement After
13  Dublin decadence, had gross absolute other prison,
14  Earnest fame Ruskin. proved Wilde's through prison
15  subjects fluent popular the Ireland fluent Reading
16  convicted charges death. He spokesman London. Art",
17  arrest with 30 four 30 Greats; English
18  trials, son Profundis, (1890). university, immediately years
19  release opportunity up duplicity, died turn social
20  unearthed Their of never return opportunity made
21  themes writing fluent Art", tried had trials,
22  early rising German tutors, return only discusses
23  (1891) Profundis, is Victorian essays, where four
24  height published dialogues left journey died dress