nonces.challenge

nonces.challenge(string) => dict
Generate a nonce for authentication.

Arguments
~~~~~~~~~
* factory_name string (lowercase, normally from hostname)

Return value
~~~~~~~~~~~~
* challenge dict

The return value is a dict with the following keys:

* algorithm string (sha1 or md5)
* salt string (few random characters)
* nonce string (random lowercase hexadecimal, length 32)

See nonces.verify for how to encrypt your password with the nonce.

Back to the list of supported methods