<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/test_utils.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-09T15:36:01Z</updated>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>keymgr: Use unquoted keypair_specifier in tests</title>
<updated>2026-04-16T09:22:54Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-15T13:07:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6d7e6a278a0b0a9822a198d2933bf2ea8a46897c'/>
<id>urn:sha1:6d7e6a278a0b0a9822a198d2933bf2ea8a46897c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Update cert tests</title>
<updated>2026-03-17T12:22:01Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-16T18:58:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dcff6a762cd90844376bf5456b02a96fde74ae12'/>
<id>urn:sha1:dcff6a762cd90844376bf5456b02a96fde74ae12</id>
<content type='text'>
This is needed now that `get_or_generate_key_and_cert()`
uses the keypair specifier when generating the subject key.

Without this the cert retrieval tests fail because
`get_or_generate_key_and_cert()` now requires the subject key specifier
to have an associated keypair specifier ("KeyCertificateSpecifier has no
keypair specifier for the subject key?").

Note that even with this patch, the `get_cert_entry()` test still fails
because of a bug in the `get_*()` family of functions. This will be
fixed in a future commit.
</content>
</entry>
<entry>
<title>keymgr: Generate test cert specifiers using d-d</title>
<updated>2026-03-12T14:56:39Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-09T18:24:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=43fa4cb7b2e24022b3cb7d9f39b93e4ed0e9aedb'/>
<id>urn:sha1:43fa4cb7b2e24022b3cb7d9f39b93e4ed0e9aedb</id>
<content type='text'>
This will enable us to test against other keymgr APIs (e.g.
`list_matching()`), which require some extra trait impls that get
generated for free by our new `CertSpecifier` macro.
</content>
</entry>
<entry>
<title>keymgr: Abolish KeyCertificateSpecifier::signing_key_specifier() (fmt)</title>
<updated>2026-03-12T14:56:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-23T18:35:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=26d68cb7eb87acba11086cc6e856061efd92fb9a'/>
<id>urn:sha1:26d68cb7eb87acba11086cc6e856061efd92fb9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Abolish KeyCertificateSpecifier::signing_key_specifier()</title>
<updated>2026-03-12T14:56:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-27T16:19:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=29b8feb559114245e95a9de561b504e3e387fcd4'/>
<id>urn:sha1:29b8feb559114245e95a9de561b504e3e387fcd4</id>
<content type='text'>
We need to be able to parse KeyPaths into KeyCertificateSpecifier,
and we can't do that if the signing key is part of the cert specifier
(because the signing key doesn't get encoded in the key path, unlike the
subject key, which does)
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>tor-keymgr: test_utils: TestSpecifier::path_prefix: Drop method</title>
<updated>2025-03-26T18:08:11Z</updated>
<author>
<name>playbahn</name>
<email>plabanroy69@gmail.com</email>
</author>
<published>2025-03-26T17:44:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fbfeede629f1b1d326befc77e9cabc8575e86db5'/>
<id>urn:sha1:fbfeede629f1b1d326befc77e9cabc8575e86db5</id>
<content type='text'>
Part of #1455
</content>
</entry>
<entry>
<title>tor-keymgr: Fix clippy errors</title>
<updated>2025-03-26T18:08:11Z</updated>
<author>
<name>playbahn</name>
<email>plabanroy69@gmail.com</email>
</author>
<published>2025-03-22T16:31:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e155cde05e568dceaf36d070bcd7a5489d7fe707'/>
<id>urn:sha1:e155cde05e568dceaf36d070bcd7a5489d7fe707</id>
<content type='text'>
</content>
</entry>
</feed>
