From 7f1e21d4ae8eb6e664bce0605607df231a6904de Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Thu, 19 Mar 2026 14:05:25 +0100 Subject: [PATCH] Fix input file name --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d7e08aa..7c58a50 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This script can be used to modify your offline megolm key backups from a shell. The main use of this is to filter what keys you'd like to share with another user (let's say you have a 1:1 chat, and the other user lost all their keys and you need to give them access without giving access to all of your rooms). -[There is currently no Riot-based tooling for this][riotweb-issue6454], so this +[There is currently no Element-based tooling for this][riotweb-issue6454], so this script can help in the meantime. I've tested the output and input format with my own room keys and it has worked @@ -35,9 +35,9 @@ Using the above example, let's say we want to only get session keys of the room `!foo:matrix.org`. You can do this fairly easily with [`jq`][jq]: ```bash -% megolm_backup.py --from riot-keys.py | +% megolm_backup.py --from element-keys.txt | jq 'map(select(.room_id == "!foo:matrix.org"))' | - megolm_backup.py --into > new-riot-keys.txt + megolm_backup.py --into > new-element-keys.txt ``` You need to have PyCryptodome installed in order for this script to work.