• Kirill Smelkov's avatar
    client: Allow to force TLS via neos:// scheme · bc3e38ea
    Kirill Smelkov authored
    Similarly to how it is done with e.g. http:// and https:// - if neos://
    is given TLS usage is forced and ca/cert/key must be there either in the
    URI itself, or in $NEO_CA, $NEO_CERT and $NEO_KEY environment variables
    mimicking the way how e.g. for https:// TLS credentials are taken from
    host environment, not from the uri.
    
    The latter might be usability convenience, but is also useful for WCFS
    which needs to be able to remove secrets from uri on zurl normalization.
    
    Please see discussion at nexedi/neoppod!18 (comment 184439)
    for details.
    
    /cc @levin.zimmermann
    /reviewed-by @jm
    /reviewed-on nexedi/neoppod!21
    bc3e38ea
setup.py 4.16 KB