8go / 8go/matrix-commander-rs

*WARN matrix_commander_rs::listen: Decryption attempt not implemented yet.*

オープン
#204 コメント 13 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
236
フォーク
25
平均マージ
4時間 30分
マージ済み PR(30日)
2

説明

Trying to listen to incoming encrypted message:

```bash
cargo run -- --listen forever --output json --log-level debug
```

Output:

```
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
Running `target/debug/matrix-commander-rs --listen forever --output json --log-level debug`
2026-06-20T16:46:52.773463Z DEBUG matrix_commander_rs: The --debug or --log-level was used once or with one value. Specifying logging equivalent to RUST_LOG setting of 'matrix_commander_rs=Debug'.
2026-06-20T16:46:52.773535Z DEBUG matrix_commander_rs: Original RUST_LOG env var is ''
2026-06-20T16:46:52.773555Z DEBUG matrix_commander_rs: Final RUST_LOG env var is ''
2026-06-20T16:46:52.773575Z DEBUG matrix_commander_rs: Final log-level option is Some([Debug])
2026-06-20T16:46:52.773655Z DEBUG matrix_commander_rs: Log level of module matrix-commander-rs is set to DEBUG.
2026-06-20T16:46:52.773677Z DEBUG matrix_commander_rs: Version is 1.0.1
2026-06-20T16:46:52.773693Z DEBUG matrix_commander_rs: Package name is matrix-commander
2026-06-20T16:46:52.773707Z DEBUG matrix_commander_rs: Repo is https://github.com/8go/matrix-commander-rs/
2026-06-20T16:46:52.773724Z DEBUG matrix_commander_rs: contribute flag is false
2026-06-20T16:46:52.773742Z DEBUG matrix_commander_rs: version option is set to None
2026-06-20T16:46:52.773764Z DEBUG matrix_commander_rs: debug flag is 0
2026-06-20T16:46:52.773785Z DEBUG matrix_commander_rs: log-level option is Some([Debug])
2026-06-20T16:46:52.773804Z DEBUG matrix_commander_rs: verbose option is 0
2026-06-20T16:46:52.773821Z DEBUG matrix_commander_rs: plain flag is None
2026-06-20T16:46:52.773841Z DEBUG matrix_commander_rs: credentials option is "/home/ubuntu/.local/share/matrix-commander-rs/credentials.json"
2026-06-20T16:46:52.773865Z DEBUG matrix_commander_rs: store option is "/home/ubuntu/.local/share/matrix-commander-rs/store/"
2026-06-20T16:46:52.773887Z DEBUG matrix_commander_rs: login option is None
2026-06-20T16:46:52.773906Z DEBUG matrix_commander_rs: bootstrap flag is false
2026-06-20T16:46:52.773926Z DEBUG matrix_commander_rs: verify flag is None
2026-06-20T16:46:52.773945Z DEBUG matrix_commander_rs: message option is []
2026-06-20T16:46:52.773966Z DEBUG matrix_commander_rs: logout option is None
2026-06-20T16:46:52.773980Z DEBUG matrix_commander_rs: homeserver option is None
2026-06-20T16:46:52.773997Z DEBUG matrix_commander_rs: user-login option is None
2026-06-20T16:46:52.774012Z DEBUG matrix_commander_rs: password option is None
2026-06-20T16:46:52.774024Z DEBUG matrix_commander_rs: device option is None
2026-06-20T16:46:52.774036Z DEBUG matrix_commander_rs: room-default option is None
2026-06-20T16:46:52.774048Z DEBUG matrix_commander_rs: devices flag is false
2026-06-20T16:46:52.774059Z DEBUG matrix_commander_rs: timeout option is 60
2026-06-20T16:46:52.774070Z DEBUG matrix_commander_rs: markdown flag is false
2026-06-20T16:46:52.774088Z DEBUG matrix_commander_rs: code flag is false
2026-06-20T16:46:52.774105Z DEBUG matrix_commander_rs: room option is []
2026-06-20T16:46:52.774124Z DEBUG matrix_commander_rs: file option is []
2026-06-20T16:46:52.774141Z DEBUG matrix_commander_rs: notice flag is false
2026-06-20T16:46:52.774160Z DEBUG matrix_commander_rs: emote flag is false
2026-06-20T16:46:52.774179Z DEBUG matrix_commander_rs: sync option is Full
2026-06-20T16:46:52.774198Z DEBUG matrix_commander_rs: listen option is Forever
2026-06-20T16:46:52.774219Z DEBUG matrix_commander_rs: tail option is 0
2026-06-20T16:46:52.774239Z DEBUG matrix_commander_rs: listen-self flag is false
2026-06-20T16:46:52.774259Z DEBUG matrix_commander_rs: whoami flag is false
2026-06-20T16:46:52.774278Z DEBUG matrix_commander_rs: output option is Json
2026-06-20T16:46:52.774297Z DEBUG matrix_commander_rs: get-room-info option is []
2026-06-20T16:46:52.774317Z DEBUG matrix_commander_rs: file-name option is []
2026-06-20T16:46:52.774340Z DEBUG matrix_commander_rs: room-create option is []
2026-06-20T16:46:52.774359Z DEBUG matrix_commander_rs: room-dm-create option is []
2026-06-20T16:46:52.774378Z DEBUG matrix_commander_rs: room-leave option is []
2026-06-20T16:46:52.774395Z DEBUG matrix_commander_rs: room-forget option is []
2026-06-20T16:46:52.774415Z DEBUG matrix_commander_rs: room-invite option is []
2026-06-20T16:46:52.774434Z DEBUG matrix_commander_rs: room-join option is []
2026-06-20T16:46:52.774455Z DEBUG matrix_commander_rs: room-ban option is []
2026-06-20T16:46:52.774475Z DEBUG matrix_commander_rs: room-unban option is []
2026-06-20T16:46:52.774493Z DEBUG matrix_commander_rs: room-kick option is []
2026-06-20T16:46:52.774513Z DEBUG matrix_commander_rs: room-resolve-alias option is []
2026-06-20T16:46:52.774533Z DEBUG matrix_commander_rs: room-enable-encryption option is []
2026-06-20T16:46:52.774552Z DEBUG matrix_commander_rs: alias option is []
2026-06-20T16:46:52.774572Z DEBUG matrix_commander_rs: name option is []
2026-06-20T16:46:52.774643Z DEBUG matrix_commander_rs: topic-create option is []
2026-06-20T16:46:52.774661Z DEBUG matrix_commander_rs: rooms option is false
2026-06-20T16:46:52.774679Z DEBUG matrix_commander_rs: invited-rooms option is false
2026-06-20T16:46:52.774698Z DEBUG matrix_commander_rs: joined-rooms option is false
2026-06-20T16:46:52.774717Z DEBUG matrix_commander_rs: left-rooms option is false
2026-06-20T16:46:52.774738Z DEBUG matrix_commander_rs: room-get-visibility option is []
2026-06-20T16:46:52.774757Z DEBUG matrix_commander_rs: room-get-state option is []
2026-06-20T16:46:52.774776Z DEBUG matrix_commander_rs: joined-members option is []
2026-06-20T16:46:52.774795Z DEBUG matrix_commander_rs: delete-device option is []
2026-06-20T16:46:52.774816Z DEBUG matrix_commander_rs: user option is []
2026-06-20T16:46:52.774835Z DEBUG matrix_commander_rs: get-avatar option is None
2026-06-20T16:46:52.774853Z DEBUG matrix_commander_rs: set-avatar option is None
2026-06-20T16:46:52.774873Z DEBUG matrix_commander_rs: get-avatar_url flag is false
2026-06-20T16:46:52.774899Z DEBUG matrix_commander_rs: set-avatar_url option is None
2026-06-20T16:46:52.774918Z DEBUG matrix_commander_rs: unset-avatar_url flag is false
2026-06-20T16:46:52.774938Z DEBUG matrix_commander_rs: get-display-name option is false
2026-06-20T16:46:52.774955Z DEBUG matrix_commander_rs: set-display-name option is None
2026-06-20T16:46:52.774973Z DEBUG matrix_commander_rs: get-profile option is false
2026-06-20T16:46:52.774993Z DEBUG matrix_commander_rs: media-upload option is []
2026-06-20T16:46:52.775011Z DEBUG matrix_commander_rs: media-download option is []
2026-06-20T16:46:52.775031Z DEBUG matrix_commander_rs: media-delete option is []
2026-06-20T16:46:52.775050Z DEBUG matrix_commander_rs: media-mxc-to-http option is []
2026-06-20T16:46:52.775071Z DEBUG matrix_commander_rs: mime option is []
2026-06-20T16:46:52.775090Z DEBUG matrix_commander_rs: get-masterkey option is false
2026-06-20T16:46:52.775116Z DEBUG matrix_commander_rs: message [], is_terminal() = true (if it not the terminal than it is a pipe on stdin)
2026-06-20T16:46:52.775409Z INFO matrix_commander_rs: loaded credentials are: Credentials { homeserver: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("matrix.org")), port: None, path: "/", query: None, fragment: None }, user_id: "@overclock3000:matrix.org", access_token: "***", device_id: "DTCKMMFGDJ", room_id: "!sNARMdEsFZERaQAJzl:matrix.org", refresh_token: None }
2026-06-20T16:46:52.775491Z DEBUG matrix_commander_rs::mclient: restore_credentials: loaded credentials are: Credentials { homeserver: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("matrix.org")), port: None, path: "/", query: None, fragment: None }, user_id: "@overclock3000:matrix.org", access_token: "***", device_id: "DTCKMMFGDJ", room_id: "!sNARMdEsFZERaQAJzl:matrix.org", refresh_token: None }
2026-06-20T16:46:52.775531Z INFO matrix_commander_rs: restore_login implicitly chosen.
2026-06-20T16:46:52.775560Z INFO matrix_commander_rs::mclient: restoring device with device_id = "DTCKMMFGDJ" on homeserver Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("matrix.org")), port: None, path: "/", query: None, fragment: None }.
2026-06-20T16:46:52.775632Z DEBUG matrix_commander_rs: Default project directory is "/home/ubuntu/.local/share/matrix-commander-rs".
2026-06-20T16:46:52.775654Z INFO matrix_commander_rs: Default store directory is /home/ubuntu/.local/share/matrix-commander-rs/store/.
2026-06-20T16:46:52.775674Z DEBUG matrix_commander_rs::mclient: Compare store names: "/home/ubuntu/.local/share/matrix-commander-rs/store/" "/home/ubuntu/.local/share/matrix-commander-rs/store/"
2026-06-20T16:46:52.775698Z INFO matrix_commander_rs::mclient: Using sqlite store "/home/ubuntu/.local/share/matrix-commander-rs/store/"
2026-06-20T16:46:52.862995Z DEBUG matrix_commander_rs::mclient: restore_session() successful.
2026-06-20T16:46:52.863047Z DEBUG matrix_commander_rs::mclient: Logged in as @overclock3000:matrix.org, got device_id DTCKMMFGDJ and access_token syt_b3ZlcmNsb2NrMzAwMA_oIjmwOjevlmJAITjrQSI_2roGqk
2026-06-20T16:46:52.863202Z DEBUG matrix_commander_rs::mclient: restore_login returned successfully. Logged in now.
2026-06-20T16:46:52.863299Z INFO matrix_commander_rs::mclient: Skipping sync due to --listen
2026-06-20T16:46:52.863707Z DEBUG matrix_commander_rs: A valid client connection has been established with server.
2026-06-20T16:46:52.863816Z DEBUG matrix_commander_rs: set_rooms()
2026-06-20T16:46:52.863904Z DEBUG matrix_commander_rs: set_users()
2026-06-20T16:46:52.864013Z INFO matrix_commander_rs: Listen Forever chosen.
2026-06-20T16:46:52.864108Z INFO matrix_commander_rs::listen: mclient::listen_forever(): listen_self false, room all
2026-06-20T16:46:52.864246Z INFO matrix_commander_rs::listen: Ready and waiting for messages ...
2026-06-20T16:46:52.864267Z INFO matrix_commander_rs::listen: Once done listening, kill the process manually with Control-C.
2026-06-20T16:47:09.203620Z DEBUG matrix_commander_rs::listen: Received a OriginalSyncRoomEncryptedEvent message OriginalSyncMessageLikeEvent { content: RoomEncryptedEventContent { scheme: MegolmV1AesSha2(MegolmV1AesSha2Content { ciphertext: "AwgNEnAxxKkj8prJ7heRwX7onZ4msrWTg/a1UxEW6dx9Et7amUGxvvSoR4FWvh8RSiAmw9TaCUuZAK2SsvQPP+/G0O28OPUX3ydp3ch7tNq36IlcrH975hzaVCL3uLcuFbOWMhpF6w5jVq6a6EOluApc3XhD1CZaYyqCW5/7S3ajhSd6wYaAMOFH+sZ3I+9TIJtIE8HCHYrJ34JKwC2EQwbCka+XsDsZ3pDtEiGT5eaQgn0SunZlV90wJsYF", sender_key: Some("Qcr58nYBi9+ofVsS85P86EedNamT+uxLhCpBf2HSXgQ"), device_id: Some("22hodcVQOa"), session_id: "RocyXLP0vdFfx8nwiFF8HT8n4EHN6UkWcls6m8MpHck" }), relates_to: None }, event_id: "$N4opf7pYH_efkTrKx5CWusawzlffsNYg6v4N-L8ohB8", sender: "@benjamin_loison:matrix.org", origin_server_ts: 2026-06-20T16:47:01.139, unsigned: MessageLikeUnsigned { age: Some(7692), transaction_id: None, relations: BundledMessageLikeRelations { replace: None, has_invalid_replacement: false, thread: None, reference: None } } }
2026-06-20T16:47:09.202943Z DEBUG matrix_commander_rs::listen: Received a SyncRoomEncryptedEvent message Original(OriginalSyncMessageLikeEvent { content: RoomEncryptedEventContent { scheme: MegolmV1AesSha2(MegolmV1AesSha2Content { ciphertext: "AwgNEnAxxKkj8prJ7heRwX7onZ4msrWTg/a1UxEW6dx9Et7amUGxvvSoR4FWvh8RSiAmw9TaCUuZAK2SsvQPP+/G0O28OPUX3ydp3ch7tNq36IlcrH975hzaVCL3uLcuFbOWMhpF6w5jVq6a6EOluApc3XhD1CZaYyqCW5/7S3ajhSd6wYaAMOFH+sZ3I+9TIJtIE8HCHYrJ34JKwC2EQwbCka+XsDsZ3pDtEiGT5eaQgn0SunZlV90wJsYF", sender_key: Some("Qcr58nYBi9+ofVsS85P86EedNamT+uxLhCpBf2HSXgQ"), device_id: Some("22hodcVQOa"), session_id: "RocyXLP0vdFfx8nwiFF8HT8n4EHN6UkWcls6m8MpHck" }), relates_to: None }, event_id: "$N4opf7pYH_efkTrKx5CWusawzlffsNYg6v4N-L8ohB8", sender: "@benjamin_loison:matrix.org", origin_server_ts: 2026-06-20T16:47:01.139, unsigned: MessageLikeUnsigned { age: Some(7692), transaction_id: None, relations: BundledMessageLikeRelations { replace: None, has_invalid_replacement: false, thread: None, reference: None } } })
2026-06-20T16:47:09.203855Z DEBUG matrix_commander_rs::listen: New message: RoomEncryptedEventContent { scheme: MegolmV1AesSha2(MegolmV1AesSha2Content { ciphertext: "AwgNEnAxxKkj8prJ7heRwX7onZ4msrWTg/a1UxEW6dx9Et7amUGxvvSoR4FWvh8RSiAmw9TaCUuZAK2SsvQPP+/G0O28OPUX3ydp3ch7tNq36IlcrH975hzaVCL3uLcuFbOWMhpF6w5jVq6a6EOluApc3XhD1CZaYyqCW5/7S3ajhSd6wYaAMOFH+sZ3I+9TIJtIE8HCHYrJ34JKwC2EQwbCka+XsDsZ3pDtEiGT5eaQgn0SunZlV90wJsYF", sender_key: Some("Qcr58nYBi9+ofVsS85P86EedNamT+uxLhCpBf2HSXgQ"), device_id: Some("22hodcVQOa"), session_id: "RocyXLP0vdFfx8nwiFF8HT8n4EHN6UkWcls6m8MpHck" }), relates_to: None } from sender "@benjamin_loison:matrix.org", room "!sNARMdEsFZERaQAJzl:matrix.org", event_id "$N4opf7pYH_efkTrKx5CWusawzlffsNYg6v4N-L8ohB8"
2026-06-20T16:47:09.203910Z WARN matrix_commander_rs::listen: Decryption attempt not implemented yet.
2026-06-20T16:47:09.203883Z DEBUG matrix_commander_rs::listen: New message: RoomEncryptedEventContent { scheme: MegolmV1AesSha2(MegolmV1AesSha2Content { ciphertext: "AwgNEnAxxKkj8prJ7heRwX7onZ4msrWTg/a1UxEW6dx9Et7amUGxvvSoR4FWvh8RSiAmw9TaCUuZAK2SsvQPP+/G0O28OPUX3ydp3ch7tNq36IlcrH975hzaVCL3uLcuFbOWMhpF6w5jVq6a6EOluApc3XhD1CZaYyqCW5/7S3ajhSd6wYaAMOFH+sZ3I+9TIJtIE8HCHYrJ34JKwC2EQwbCka+XsDsZ3pDtEiGT5eaQgn0SunZlV90wJsYF", sender_key: Some("Qcr58nYBi9+ofVsS85P86EedNamT+uxLhCpBf2HSXgQ"), device_id: Some("22hodcVQOa"), session_id: "RocyXLP0vdFfx8nwiFF8HT8n4EHN6UkWcls6m8MpHck" }), relates_to: None } from sender "@benjamin_loison:matrix.org", room "!sNARMdEsFZERaQAJzl:matrix.org", event_id "$N4opf7pYH_efkTrKx5CWusawzlffsNYg6v4N-L8ohB8"
2026-06-20T16:47:09.204039Z WARN matrix_commander_rs::listen: Decryption attempt not implemented yet.
```

Related to #176.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。