radicle-heartwood-lfs/crates/radicle-node/src
Lorenz Leutgeb 0a0e70b1d1
node/systemd: Fix reading credentials
In `cb57e6560fe7767e79b87473a11261fbb82ce84c` the loading of systemd
credentials was refactored. The idea was to only change the accepted IDs
slightly after switching from radicle.xyz to radicle.dev. Unfortunately,
this was done in a sloppy way. The two cases for passphrase and secret
actually differ in ways that was overlooked.

Rectify these mistakes and restore the old behavior:
 1. The logic to read the passphrase from the file that contains the
    credential is moved out of `load_credential` since it only applies
    to the passphrase, not the secret.
 2. The warnings printed are now generic, and will not mention the
    passphrase in case reading the path for the secret fails.
2026-05-07 22:53:57 +02:00
..
reactor rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
runtime treewide: Spelling 2026-04-30 15:50:29 -04:00
test node/test: `NodeHandle::commit_to` should namespace 2026-05-05 14:41:52 +01:00
tests e2e: Fix false-positive in canonical ref update test 2026-05-05 14:41:52 +01:00
worker radicle/crefs: Support Symbolic References 2026-05-06 20:51:04 +02:00
control.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
fingerprint.rs cargo: Update `cyphernet` from 0.5.2 to 0.5.3 2026-04-15 11:59:15 +01:00
lib.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
main.rs node/systemd: Fix reading credentials 2026-05-07 22:53:57 +02:00
reactor.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
runtime.rs node: Fix conditions for socket activation 2026-04-22 12:03:05 +01:00
test.rs node, protocol: Refactor 2025-07-16 21:15:52 +02:00
tests.rs treewide: Spelling 2026-04-30 15:50:29 -04:00
wire.rs treewide: Spelling 2026-04-30 15:50:29 -04:00
worker.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00