(self)
| 396 | self._vocabulary = _load_wordlist(word_list_file) |
| 397 | |
| 398 | def generate(self): |
| 399 | if not self._vocabulary: |
| 400 | raise Exception(f'Diceware word list was not loaded') |
| 401 | |
| 402 | words = [secrets.choice(self._vocabulary) for _ in range(self._number_of_rolls)] |
| 403 | shuffle(words) |
| 404 | return self.delimiter.join(words) |
| 405 | |
| 406 | |
| 407 | class KeeperPassphraseGenerator(PasswordGenerator): |
nothing calls this directly
no outgoing calls
no test coverage detected