matrix-org / matrix-org/matrix-rust-sdk-crypto-nodejs

Expose `OlmMachine::discard_room_key`

Open
#46 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #47 by @liemlylac — closed without merging
Dominant language
Rust
Stars
11
Forks
23
Avg merge
22h 12m
Merged PRs (30d)
1

Description

Sometime when using bot-sdk I want bot can discard room key and will generate a new one. Found that matrix-rust-sdk has function like this used for matrix-js-sdk.

Could you please export function `discard_room_key`?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the OlmMachine binding and the existing discard_room_key implementation in matrix-rust-sdk. Compare how the function is exposed for matrix-js-sdk, then verify that bot-sdk callers can invoke it and that a new room key is generated as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, cryptography
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.