[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] How do Ed25519 relay IDs look like?
- To: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [tor-dev] How do Ed25519 relay IDs look like?
- From: nusenu <nusenu-lists@xxxxxxxxxx>
- Date: Sun, 2 Aug 2020 02:45:52 +0200
- Autocrypt: addr=nusenu-lists@xxxxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFj53gUBEADYKwT0pW1yiqt6UReZW8T2nXVCyeVT2G6z7AvW69afp82uthRH237pQ7Qs 5vq91DivN6fGN6cVksp0N9Yv+5HEQAwUxpLfcNDcGzmHMd0JMItEtozGv3a4FuiUoHAqeGXM 6Kzi3v5F2PZGF+U4QaGKEZq6u50gO/ZFy4GfC9z9tsO6Cm7s7KldVHMGx/a0MEGMwh6ZI9x2 hGXSSAKu58KRUkEpHzDiQTj+/j58ndNfZRQv6P5BLppHADRPqwEOm4RQcQYskyM0FdKXbJ8E 5GW268meflfv2BASsl3X/Xqxp+LNrstXIbFZ+38hVlQDDmdvaASpPTzIAxf8FxMYZqI+K1UE kP5nU45q84KiZoXwT6YYJDKToLSDnYkKlsrCSnLkE3Nb/IexgNoYO4nE6lT9BDV3athQCWw1 FwB5idRYWnIqbVgUFgYZDUdZBJmeTEeI+Wn5hFz6HvFVc/+haMVTcoEKSkG/tsSGsKOc2mp6 z+71io9JWrVQGmw7OeZeE4TvkF9GhwS8jrKO4E0crfcT/zT6368PZCO6Wpir8+po/ZfOWbbh 1hi3MxmXn4Fki55Zrvhy3sf28U+H/nByQV4CssYv/xVhIZsN/wNQLcDLgVs4JTBUik8eQR0Y Qrq9lG3ZVtbpEi7ZTJ6BOGIn2TKHsVIVGSQA0PdKpKYV45Lc4QARAQABtCBudXNlbnUgPG51 c2VudS1saXN0c0ByaXNldXAubmV0PokCVAQTAQgAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIe AQIXgBYhBJaQzx+7tCmFlU3yu61hOMJFzUJ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G+Sp2fbPeSxeHUqhLTu1jComXEZv59HnNhlcJeAxKFXoiAFCFV4XbKdVG2bKh434c=
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Sat, 01 Aug 2020 20:46:59 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1596329203; bh=LPltdjhgDR53Kq2hb1AtfAOaHd89NlC2qGquL3rRh24=; h=To:References:From:Subject:Date:In-Reply-To:From; b=GpxUKVrlFsnG59tdyLok+O544EKKk90nf73iFLfo9JPpr2pYtm/Cz8m9aVZT71DtR nT5T53l/Y7HrHimYceBynLwKi7oiJSPLxO0xf6MLaQR0p3ktEJuKUjLcocJw+S1cxa Jm+LBE6aHSWxd3IMxMDijuD+lVWZVArodLbNiFNQ=
- In-reply-to: <CAJdkzEMoFTu_Ft3eXinF9Nt87BYVyjp33KynenqwNc3x+sz7WA@mail.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>
- References: <cf076e4b-41d5-fa57-63b1-0ab468a1f96f@riseup.net> <3e4ae1c9-40cf-62f9-dd72-a3e4f5cf387a@riseup.net> <e6e9da92-75b0-49e6-eb29-01016b32775d@riseup.net> <CAKDKvuxJ9GNPsso9ni68FgwhkKiXGJkL=k_q9X1ai_FcRf1xQA@mail.gmail.com> <fb97332d-287b-3ccb-e577-10b6b7ef176c@riseup.net> <CAJdkzEP8HsMyN3Tjgqor2Q+yKWQr-sM6LwKmWO59pL9QRsDUQA@mail.gmail.com> <DEA87A82-8AF5-4FDA-BD79-2E1519B2154B@web.de> <CAJdkzEMoFTu_Ft3eXinF9Nt87BYVyjp33KynenqwNc3x+sz7WA@mail.gmail.com>
- Reply-to: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-dev" <tor-dev-bounces@xxxxxxxxxxxxxxxxxxxx>
> First, I'd advise that we call these 'v2 fingerprints' so it's clear
> that we intend to substitute these anywhere traditional fingerprints
> are used.
Isn't using "fingerprint" not a bit misleading since it is not the output of
a hash function but the ed25519 master public key itself?
> Second, I would advise against truncated base64 identifiers.
> Fingerprints are 40 character hex. master-key-ed25519's base64 value
> can include slashes (such as
> "yp0fwtp4aa/VMyZJGz8vN7Km3zYet1YBZwqZEk1CwHI") which will be
> problematic for DirPort urls, GETINFO commands, etc.
>
> The simplest solution would be to simply hexify these values. This
> will raise our fingerprint length from 40 to 64 characters
to avoid increasing the length to 64 characters, how about using urlsafe base64
that does not make use of the "/" character?
https://tools.ietf.org/html/rfc4648#section-5
https://docs.python.org/3/library/base64.html#base64.urlsafe_b64encode
--
https://mastodon.social/@nusenu
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev