Skip to content

feat(linux): protect saved login with Secret portal - #362

Open
Mat4m0 wants to merge 1 commit into
build/linux-flatpak-packagefrom
feat/linux-secret-portal
Open

feat(linux): protect saved login with Secret portal#362
Mat4m0 wants to merge 1 commit into
build/linux-flatpak-packagefrom
feat/linux-secret-portal

Conversation

@Mat4m0

@Mat4m0 Mat4m0 commented Aug 31, 2026

Copy link
Copy Markdown
Owner

What changed

Saved Linux login data is encrypted with a per-application secret obtained through the Secret portal and stored only in profile-scoped ciphertext files.

Why

Flatpak cannot assume one desktop keyring implementation, and plaintext fallback would silently weaken saved login protection.

Invariant

Missing portal support fails closed, the renderer never receives the master secret, profile slots are isolated, and the ciphertext is bound to the distribution identity.

Delivery

Review-only credential foundation. No live credentials are used.

Verification

  • portal helper compilation on Ubuntu

  • encryption, isolation, clearing, and wrong-secret tests

  • saved-login and native-keychain policy tests

  • Focused change

  • Relevant checks run

  • Synthetic credentials only

@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from d81e96d to 5c8ab29 Compare August 31, 2026 00:29
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from 5c8ab29 to 8bd58a7 Compare August 31, 2026 00:35
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch 2 times, most recently from 01c7c7b to b0c85b7 Compare August 31, 2026 00:46
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from b0c85b7 to 6a96396 Compare August 31, 2026 00:56
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from 6a96396 to a261c13 Compare August 31, 2026 01:03
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from a261c13 to 0c99fcd Compare August 31, 2026 01:14
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from 0c99fcd to f20aabf Compare August 31, 2026 01:20
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from f20aabf to 8bc10fd Compare August 31, 2026 01:33
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from 8bc10fd to 73eb245 Compare August 31, 2026 01:41
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from 73eb245 to fee5eda Compare August 31, 2026 01:44
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from fee5eda to 70c66b4 Compare August 31, 2026 01:52
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from 70c66b4 to 4a5abef Compare August 31, 2026 02:01
@Mat4m0
Mat4m0 force-pushed the feat/linux-secret-portal branch from 4a5abef to fe16e1c Compare August 31, 2026 02:15
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