Tests for twisted.conch.scripts.ckeygen.
| Function | makeGetpass | Return a callable to patch getpass.getpass. Yields a
passphrase each time called. Use case is to provide an old, then new
passphrase(s) as if requested interactively. |
| Class | KeyGenTests | Tests for various functions used to implement the ckeygen script. |
Return a callable to patch getpass.getpass. Yields a
passphrase each time called. Use case is to provide an old, then new
passphrase(s) as if requested interactively.
| Parameters | passphrases | The list of passphrases returned, one per each call. |
| Returns | A callable to patch getpass.getpass. | |