# Keys compromised

**URL:** https://forum.torproject.org/t/keys-compromised/21729
**Category:** Relay Operator
**Tags:** bridge
**Created:** [June 10, 2026, 3:12pm UTC](https://forum.torproject.org/t/keys-compromised/21729 "2026-06-10T15:12:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![theking2](https://forum.torproject.org/user_avatar/forum.torproject.org/theking2/32/8750_2.png) [@theking2](https://forum.torproject.org/u/theking2)
#### Post date: [June 10, 2026, 3:12pm UTC](https://forum.torproject.org/t/keys-compromised/21729/1 "2026-06-10T15:12:23Z")

</div>

My keys got compromised. They were leaked in a AI chat (by silly me) and I need to flag them.

1. How do I rotate the keys, identity key fingerprint, hashed identity key fingerprint, identity key ed25519 fingerprint?
2. How do I revoke these as valid keys? They should no longer be used by a relay.

---

<div class="post-metadata">

### Author: ![Redwave](https://forum.torproject.org/user_avatar/forum.torproject.org/redwave/32/5801_2.png) [@Redwave](https://forum.torproject.org/u/Redwave)
#### Post date: [July 4, 2026, 3:46pm UTC](https://forum.torproject.org/t/keys-compromised/21729/2 "2026-07-04T15:46:51Z")

</div>

1. Stop tor
2. rm -r /var/lib/tor/\*
3. Start tor

Tor will regenerate new keys, and your relay will start from scratch. You might want to edit /etc/tor/torrc and change the name of your relay to BlahCoolName_ **2** _ but that’s up to you.

---

<div class="post-metadata">

### Author: ![theking2](https://forum.torproject.org/user_avatar/forum.torproject.org/theking2/32/8750_2.png) [@theking2](https://forum.torproject.org/u/theking2)
#### Post date: [July 5, 2026, 4:13pm UTC](https://forum.torproject.org/t/keys-compromised/21729/3 "2026-07-05T16:13:24Z")

</div>

thanks my relay needs to build up repution but that is ok

 ![image](https://forum.torproject.org/uploads/default/original/2X/c/c08f759a38261f8c4c51eda28d2d3b6115423a13.png)

---

<div class="post-metadata">

### Author: ![system](https://forum.torproject.org/uploads/default/original/2X/d/d3424bed34f4ec18b2e99178c2801ba6dfb655d6.png) [@system](https://forum.torproject.org/u/system)
#### Post date: [July 7, 2026, 4:14pm UTC](https://forum.torproject.org/t/keys-compromised/21729/4 "2026-07-07T16:14:01Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
