nheko
nheko copied to clipboard
Nheko Possibly Causes Key Backup Error in Element
Describe the bug
There are at least two known cases where use of Nheko is correlated with the error "Unable to query secret storage status" in Element. A more verbose error message "Error: Failed decoding Curve25519 key from base64: Invalid number of bytes for Curve25519, expected 32, got 45." is printed by Element to the console. This also prevents Element from resetting key backup ("secure backup"), because apparently Element validates the existing key backup before allowing the user to reset it.
https://github.com/element-hq/element-meta/issues/2471
After using the DELETE /_matrix/client/v3/room_keys/version/{version}
API to manually erase the existing key backup, Element no longer gives the error and allows setting up a fresh key backup.
Obviously Element's unnecessary validation problem is not relevant to Nheko, but the root cause whereby Element believes the key backup created from Nheko is malformed probably deserves further investigation.
To Reproduce
Exact details unknown. The issue is most likely reproducible by setting up key backup in Nheko and then attempting to reset it in Element.
What happened?
No response
Expected behavior
No response
Screenshots
No response
Version
Unknown
Operating system
No response
Installation method
No response
Qt version
No response
C++ compiler
No response
Desktop Environment
No response
Did you use profiles?
- [ ] Profiles used?
Relevant log output
No response
Backtrace
No response