Beispiel #1
0
def configure_curve(auth, domain, location):
    """
    Configure CURVE authentication for a given domain. CURVE
    authentication uses a directory that holds all public client
    certificates, i.e. their public keys. The certificates must be in
    zcert_save () format. The location is treated as a printf
    format. To cover all domains, use "*".  You can add and remove
    certificates in that directory at any time.  To allow all client
    keys without checking, specify CURVE_ALLOW_ANY for the location.
    """
    return C.zauth_configure_curve(auth, domain, location)
Beispiel #2
0
def configure_curve(auth, domain, location):
    """
    Configure CURVE authentication for a given domain. CURVE
    authentication uses a directory that holds all public client
    certificates, i.e. their public keys. The certificates must be in
    zcert_save () format. The location is treated as a printf
    format. To cover all domains, use "*".  You can add and remove
    certificates in that directory at any time.  To allow all client
    keys without checking, specify CURVE_ALLOW_ANY for the location.
    """
    return C.zauth_configure_curve(auth, domain, location)