[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] HS v3 client authorization types
- To: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [tor-dev] HS v3 client authorization types
- From: Suphanat Chunhapanya <haxx.pop@xxxxxxxxx>
- Date: Mon, 30 Apr 2018 17:08:37 +0700
- Autocrypt: addr=haxx.pop@xxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBFaU83wBEADElEh5UmB+WXTKh5zL1IrUNebyA/pOdNOjY3phosuG2Xdth76PMhvyPXVu /Jf8GWDuDXhMrAKTGBloUuqbLpQsj6BY2YhV7Tn1wEiSqXCJMK8NdwrQhkUWKiX/ioxL4r4R cP9IUtDKkSstLhU7vk+7TUdQFIw4Y+qsNT+IgOvqpxlkIdieYNfExOvzXB9aWtVPfbpZ32S/ zTfZ8LBNXV9jWwFrMPZTFh8Dc9wzYQ/ZQUg8OckNSHNCYPiY0/x3x/FW4abBSJ376fxdQJNt x6f9dnOL8KEhv670Vt4S/NnXSo+jW0lzoDgE3PhpchQ3EaD/CgEYGEiIa8tnHERGpVRvPzwc jw1j9Cp/nFJL4eNVO+oOk9Iorh2LLID1z8vU+hgtoZZHQBSh7Gv+CmaV6DYCKwVxKxZkLKdX LauaweS32ZORb/eTaruXhSGFLgNFwjgurbSLw3FtUIcz8k7n5T2sx00C6kffaH5fZ8q5vj15 w7+l1KI0qCRS8XGm4bcfimgToRD858qbdi1vEcgygzewzDtDex7NfElpcg3krgNZHcBmfRI2 BVNRmlZWjsQNZOp5OhC/XuPGmkSlsZFgymYxHl8rraNlJeobMDjN3XYXLOMFMTqptOoYmw54 Mr+cOnFAu9R0qReEjBXXrpeECMX/2F1DYvus9x/zAV8Mku8BZQARAQABzTNTdXBoYW5hdCBD aHVuaGFwYW55YSAoaGF4eHBvcCkgPGhheHgucG9wQGdtYWlsLmNvbT7CwXgEEwECACIFAlaU 83wCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEG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delivery-date: Mon, 30 Apr 2018 06:09:11 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=VtcfgHFnCI/R6+P84YJmBwNq2W7YGT8gyds33amEDmY=; b=YK8wtkTgv7GXDs5jWT4KdEMmarX7DM0VuutdbQl34CZt8hM5GGuDhTCI2jl0rxQY0a mFS6JXYalDrom5H5goNAnkn4K41zCLlvtu+jXfkFxf3NFaaffnPinUOxF7aqy8W5Druy mEoNJZvLAP6zp1aC1d8wRacBAHXf5KxIqpZ/agDOnAVKdJ+iGR1f7X+K1+FstbdEQ/Y+ 3mIKcq3W+nwjat6gUHgTn+Q4J9adYZsQL6oBbQW5OUAYgsoJ+JA3vddgGy5dQRPKDflz 8vXwq6PkKsFxyWLc/oMjtM+fYCW7dJqmm0OVqmLNIKwmahrbUztUGeA9wf6H6oXqcxRM 6xJw==
- In-reply-to: <53B585EE-002B-4BD9-9878-C3BF8117825B@gmail.com>
- List-archive: <http://lists.torproject.org/pipermail/tor-dev/>
- List-help: <mailto:tor-dev-request@lists.torproject.org?subject=help>
- List-id: discussion regarding Tor development <tor-dev.lists.torproject.org>
- List-post: <mailto:tor-dev@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=unsubscribe>
- Openpgp: preference=signencrypt
- References: <2481d781-904c-c967-de69-db40060d9c9d@gmail.com> <86y3h8l621.fsf@atlantis.meejah.ca> <53B585EE-002B-4BD9-9878-C3BF8117825B@gmail.com>
- Reply-to: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-dev" <tor-dev-bounces@xxxxxxxxxxxxxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
Hi,
On 04/28/2018 06:19 AM, teor wrote:
>> Or should we require the service to enable both for all clients?
>>
>> If you want to let the service be able to enable one while disable the
>> other, do you have any opinion on how to configure the torrc?
>
> If someone doesn't understand client auth in detail, and just wants
> to be more secure, we should give them a single option that enables
> both kinds of client auth. (Security by default.)
>
> OnionServiceClientAuthentication 1
> (Default: 0)
>
> If someone knows they only want a particular client auth method,
> we should give them another option that contains a list of active
> client auth methods. (Describe what you have, not what you don't
> have, because negatives confuse humans.)
>
> OnionServiceClientAuthenticationMethods intro
> (Default: descriptor, intro)
Do you have any opinion on specifying the client names in your
recommendation? and the list of client names in "descriptor" and "intro"
should be independent.
However, what i am currently think of is that we can use the existing
format.
HiddenServiceAuthorizeClient auth-type client-name,client-name,...
But instead of allowing only two auth-types "descriptor" and "intro", we
allow another type called "default" which includes both "descriptor" and
"intro"
So if I put an option:
HiddenServiceAuthorizeClient default client-name,client-name,...
It will be equivalent to two lines of:
HiddenServiceAuthorizeClient descriptor client-name,client-name,...
HiddenServiceAuthorizeClient intro client-name,client-name,...
And on the client side, if I put an option:
HidServAuth onion-address default x25519-private-key ed25519-private-key
It will be equivalent to two lines of:
HidServAuth onion-address descriptor x25519-private-key
HidServAuth onion-address intro ed25519-private-key
What do you all think?
Cheers,
haxxpop
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev