<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/doc/dev/notes/key-management-paths.md, branch arti-v1.9.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-03T11:59:36Z</updated>
<entry>
<title>doc/dev: Rename client authorization to restricted discovery.</title>
<updated>2024-10-03T11:59:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-10-03T11:55:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a0e686b35a6f7f0e74f395c57583f3e1339aaf37'/>
<id>urn:sha1:a0e686b35a6f7f0e74f395c57583f3e1339aaf37</id>
<content type='text'>
This renames "client auth" to "restricted discovery" where appropriate.

Closes #1476
</content>
</entry>
<entry>
<title>tor-hsclient: Remove client nickname from the client key specifiers.</title>
<updated>2024-02-22T18:00:34Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-21T18:53:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=79fa5573a26eed11ee90a93a01fdb504f0fc56d2'/>
<id>urn:sha1:79fa5573a26eed11ee90a93a01fdb504f0fc56d2</id>
<content type='text'>
Closes #1283
</content>
</entry>
<entry>
<title>dev doc: Lowercase the key paths.</title>
<updated>2024-02-05T19:19:01Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-05T11:38:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a900081e945679e80d29797ae00c206f2cd78f1'/>
<id>urn:sha1:1a900081e945679e80d29797ae00c206f2cd78f1</id>
<content type='text'>
We changed all key paths to be lowercased a while ago, but forgot to
update this document.
</content>
</entry>
<entry>
<title>tor-hsservice: Rewrite maybe_generate_hsid using KeyMgr::generate.</title>
<updated>2024-02-01T20:02:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-31T15:49:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f51885fd62060853a56e53b96a8be376d38e2b1'/>
<id>urn:sha1:0f51885fd62060853a56e53b96a8be376d38e2b1</id>
<content type='text'>
We will soon remove the `KeyMgr::*_with_derived()` functions, so we need
to rewrite `maybe_generate_hsid` using `KeyMgr::get` and
`KeyMgr::generate`.

An important point to note is that `maybe_generate_hsid` no longer
stores the `KP_hs_id` in the key store. The reason we originally put the
`KP_hs_id` in the keystore in the first place was to support offline
HsId mode. However, offline HsId mode was never fully implemented
(#1194), and the decision to put the public part of the HsId in the
keystore is controversial (#1195). We can revisit this decision when we
implement #1194, but for now, we don't need a separate `KP_hs_Id` entry
in the keystore.
</content>
</entry>
<entry>
<title>tor-hsservice: Rename the service keystore dir to "hss".</title>
<updated>2024-02-01T14:56:23Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-01T14:50:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ad3d1571263e4eb34328ec76ca3d08144ebec6c9'/>
<id>urn:sha1:ad3d1571263e4eb34328ec76ca3d08144ebec6c9</id>
<content type='text'>
The onion service keys now live in the `hss/&lt;nickname&gt;` subdirectory
within the keystore.

This layout change is **not** backwards-compatible, so if you want to
use your existing hidden service keys, you will need to manually move
them to `&lt;keystore_root&gt;/hss`.

Closes #1260
</content>
</entry>
<entry>
<title>tor-keymgr: Strip .onion suffix from HsId before building Slug.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-26T12:20:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b0cb45d0ebcf15f57b2b41c464b2bb903c5893d'/>
<id>urn:sha1:7b0cb45d0ebcf15f57b2b41c464b2bb903c5893d</id>
<content type='text'>
We are about to replace `ArtiPathComponent` with `Slug`, but `Slug`s
don't support `.`, so let's strip the `.onion` suffix before encoding it
in the `ArtiPath`.
</content>
</entry>
<entry>
<title>dev doc: Update keymgr paths to mention the new denotator separator.</title>
<updated>2023-11-02T17:40:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-01T11:00:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a0b17ec7d940a748ca634c447f4985e9a955de39'/>
<id>urn:sha1:a0b17ec7d940a748ca634c447f4985e9a955de39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dev-doc: Document the service keys currently supported by keymgr.</title>
<updated>2023-10-13T17:11:34Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-13T17:08:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=55b6b93b4d5bf4ec13093ca48a24ec047b626691'/>
<id>urn:sha1:55b6b93b4d5bf4ec13093ca48a24ec047b626691</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Encode whether the key is public or private in the file extension.</title>
<updated>2023-10-13T17:11:28Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-13T11:14:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b2f1b838b0113effb98852a750db90ac7e20262'/>
<id>urn:sha1:3b2f1b838b0113effb98852a750db90ac7e20262</id>
<content type='text'>
There are 2 reasons to make this change:

  * because having the word `private` in the extension will make it more
    difficult to accidentally misuse or misplace a private key (see
    https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1618#note_2947461)
  * because `Keystore`s will soon grow a `list()` function returning all
    `(ArtiPath, KeyType)`s in the keystore, and in order for
    `ArtiNativeKeystore` to implement this function, it will need to be
    able to reverse the `KeyType -&gt; file extension` mapping (if two
    different `KeyType`s are mapped to the same extension,
    `ArtiNativeKeystore`s won't be able to reverse the mapping)
</content>
</entry>
<entry>
<title>dev docs: Document the `ArtiPath`s recognized by the key manager.</title>
<updated>2023-09-14T13:04:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-11T14:14:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06b625b4af21d18bba0b245fac4af18f0a290388'/>
<id>urn:sha1:06b625b4af21d18bba0b245fac4af18f0a290388</id>
<content type='text'>
</content>
</entry>
</feed>
