Skip to content

Fix Bitwarden authentication, vault sync, and cipher updates - #11

Merged
IvanDmitriev1 merged 4 commits into
devfrom
fixes
Nov 3, 2026
Merged

IvanDmitriev1 merged 4 commits into
devfrom
fixes

Conversation

@IvanDmitriev1

Copy link
Copy Markdown
Owner

Summary

  • Use account-specific prelogin KDF settings for password sign-in.
    Correct Argon2id salt hashing and legacy protected-key decryption.
  • Preserve configured server base paths when building API URLs.
  • Handle cipher and folder notifications with account and revision
    checks, and publish folder deletion events.
  • Preserve item keys and fields missing from the editor when saving.
    Reject stale revisions, unknown fields, and ambiguous edits.
  • Consolidate vault parsing in BitwardenApi, share encrypted models,
    and separate creation from update request builders.

- Reject ciphertext authentication downgrades
- Fix Argon2 salt hashing and legacy user-key decryption
- Discover account KDF settings before password login
- Normalize service URLs once and preserve self-hosted paths
- Add crypto, authentication, and URL regression tests
- Apply server deletions locally without another API mutation
- Publish IPC events after committing and updating the unlocked vault
- Ignore invalid, unrelated, and stale notifications
- Preserve newer local state when a fetch completes late
- Update tests for the revised abstraction and notification flow
- Fetch the original cipher and check its revision before updating.
Retain its encryption key and fields missing from the editor to
prevent attachment breakage and silent data loss.
- Move vault parsing into BitwardenApi and share encrypted leaf models.
Separate update preservation rules from request construction and
remove the outgoing opaque Data field.
@IvanDmitriev1

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T19:05:51.264844Z 62e1d8d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 62e1d8d319

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@IvanDmitriev1
IvanDmitriev1 merged commit 5a2dff5 into dev Nov 3, 2026
2 checks passed
@IvanDmitriev1
IvanDmitriev1 deleted the fixes branch November 3, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant