To self-sign the device using your security key, use
/cs fetch, enter your
security key in the dialog that appears, then use
Alternatively, find yourself in the user list on Element Web or Desktop, click
on "X sessions", click on the gomuks session and use "Manually verify by text",
then compare the fingerprint to what gomuks outputs with the
command. Note that the text verification option is not available in the
security & privacy settings, it's only in the right panel user list.
gomuks currently doesn't support key backup and doesn't request keys
automatically, so only messages sent after initial login will be decryptable.
To see older messages, export keys to file from another client and use the
/import command. After importing keys, you need to clear cache to have gomuks
retry decrypting old messages.
Go's HTTP library reads the
https_proxy environment variable by default
(see https://pkg.go.dev/net/http#ProxyFromEnvironment for more info).
gomuks currently only supports one account at a time, but you can run multiple instances of gomuks with different data directories. See the entry below for details.
By default, data is stored in the default config/cache/data directories using
OS-specific conventions. To store all gomuks data in a custom directory, use
GOMUKS_ROOT environment variable.
You can also override individual directories using
- Config contains the main local config file.
- Data contains encryption keys.
- Cache contains things that can be refetched from the server: message history, room state, automatically downloaded files, preferences that are synced to the server, etc.
The default directory for manual file downloads (using the
is the same on all systems:
Note that the environment variables only take effect before first startup. After first startup, everything except the config path is saved to the config and will be read from there. To move existing gomuks data to a different path, you must change the paths in the config file.
These are the base directories for each OS, data will be stored in the
directory inside each base directory.
- Config & Data:
- Config & Data: