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.
def makeGetpass(*passphrases):

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.

ParameterspassphrasesThe list of passphrases returned, one per each call.
ReturnsA callable to patch getpass.getpass.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.