Repository navigation
メッセージの復号失敗とグループ名のID表示を修正 - #5
Open
shirafukayayoi wants to merge 3 commits into
Open
shirafukayayoi wants to merge 3 commits into
shirafukayayoi wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
暗号化された本文の復号に失敗すると
(none)が表示され、参加グループが多い環境ではグループ名の代わりにIDが表示されます。暗号鍵の取得・キャッシュを修正したlinejsへ更新し、グループ情報を小分けに取得するようにします。変更内容
検証
Arch Linux / x86_64、GTK4・Libadwaita、Rust・Denoで確認しました。
cargo fmt --all -- --checkcargo clippy --all-targets --all-features -- -D warningscargo test --all-targets --all-features:8件成功。deno task --config protocol/deno.json check:12件成功。同じ鍵IDを持つ別の相手、鍵束の選択と過去の世代の保持、復号失敗・キャッシュ再取得、115グループの分割取得、部分失敗とメッセージの振り分けを確認。日本語UIの追加とメールログイン機能は含めていません。