Skip to content

dock: put CipherStick first in Tails favorites - #308

Merged
BenWestgate merged 1 commit into
253-cipherstick-autostartfrom
restore-files-favorite
Oct 4, 2026
Merged

BenWestgate merged 1 commit into
253-cipherstick-autostartfrom
restore-files-favorite

Conversation

@BenWestgate

@BenWestgate BenWestgate commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

After setup, Tails apps disappear from the dock (reported in #240).

Stacked on #311, which replaces wrapped with cipherstick-login. This PR is one commit that changes the dock code there.

Cause: the login steps replace GNOME's favorite-apps with a hard-coded list. That copy goes stale whenever Tails changes its defaults:

  • Files was never in it, so Files disappeared from the dock.
  • Tails 7.6 replaced KeePassXC with Secrets, so the password manager vanished too. The list still named org.keepassxc.KeePassXC.desktop.

Change: read the current favorites, then move CipherStick (bails.desktop), Bitcoin Core (bitcoin-qt.desktop) and codex32 (io.github.benwestgate.codex32.desktop) to the front. Every other entry stays as Tails or the user set it.

  • codex32 is included because stateless CryoStick users run it every session, and the three icons together introduce CipherStick in the Activities overview.
  • No Tails app names are hard-coded, so future Tails releases need no change here, as the draft maintainability policy in docs: define maintainability and PELD policy #277 asks.
  • Users' own dock changes now survive.
  • If the current list can't be read, the dock is left untouched and the parse error is printed.

Testing (with gsettings mocked)

  • Tails' default list: all entries kept, including Secrets and Files, with the three CipherStick icons first.
  • CipherStick icons already in the list are moved to the front, not duplicated.
  • An empty list (@as []) gives just the CipherStick icons.
  • Names containing quotes are handled.
  • Unparseable output: no change made.
  • shellcheck with CI's flags and bash -n pass.
  • Not yet run on Tails.

Refs #240

🤖 Generated with Claude Code

https://claude.ai/code/session_01LvEHMDeHvYQYDEkpJn95X8

@chatgpt-codex-connector

This comment has been minimized.

Copy link
Copy Markdown
Owner Author

github-advanced-security fails here because of a repository setting, not this change. It fails the same way on every open PR, the run reports no findings, and this PR only adds one entry to a list in wrapped. Nothing in this PR can fix it, so I'm ignoring it as instructed.


Generated by Claude Code

@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 2d591b6 to cbaacf8 Compare October 2, 2026 09:30
@BenWestgate BenWestgate changed the title dock: keep Files in Tails favorites dock: prepend CipherStick to Tails favorites Oct 2, 2026
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 2f18946 to 57459c2 Compare October 2, 2026 11:12
@BenWestgate
BenWestgate changed the base branch from master to 253-cipherstick-autostart October 2, 2026 11:12
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 7ec12ea to b90dfa7 Compare October 2, 2026 17:14
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch 2 times, most recently from bd5ecec to 2f0c420 Compare October 2, 2026 17:19
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 38f7ae3 to 4b5a347 Compare October 2, 2026 17:34
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 2f0c420 to 2954630 Compare October 2, 2026 17:34
@BenWestgate BenWestgate changed the title dock: prepend CipherStick to Tails favorites dock: put CipherStick first in Tails favorites Oct 2, 2026
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 4b5a347 to bfe0433 Compare October 2, 2026 18:53
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 2954630 to 04430fd Compare October 2, 2026 18:53
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from bfe0433 to 7b28511 Compare October 2, 2026 22:06
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch 2 times, most recently from 5b19963 to 4aa1f89 Compare October 2, 2026 22:30
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 7b28511 to 0ebc2fb Compare October 2, 2026 22:31
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 4aa1f89 to 6fe9ff3 Compare October 2, 2026 22:36
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 6fe8cf3 to 63c4436 Compare October 2, 2026 22:40
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 6fe9ff3 to 67e034f Compare October 2, 2026 22:41
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 63c4436 to 955e5da Compare October 2, 2026 23:33
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 67e034f to e2650ba Compare October 2, 2026 23:33
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 955e5da to e110f68 Compare October 2, 2026 23:42
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from e2650ba to cc9973c Compare October 2, 2026 23:42
@BenWestgate

Copy link
Copy Markdown
Owner Author

@codex review

@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from e110f68 to 4a20916 Compare October 3, 2026 07:39
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from cc9973c to eabdeb7 Compare October 3, 2026 07:39
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: cc9973c870

ℹ️ 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".

@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from eabdeb7 to d5e38b5 Compare October 3, 2026 07:41
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 4a20916 to 09893f0 Compare October 3, 2026 07:41
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from d5e38b5 to 9a99efb Compare October 3, 2026 15:40
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch 2 times, most recently from 13244dc to 10990a1 Compare October 3, 2026 15:41
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 9a99efb to e7315de Compare October 3, 2026 15:41
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 10990a1 to 8da30dc Compare October 3, 2026 15:42
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from e7315de to 99d09d9 Compare October 3, 2026 15:42
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from 8da30dc to bb6b0ce Compare October 3, 2026 15:43
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 99d09d9 to 9d22cc6 Compare October 3, 2026 15:43
CipherStick's login steps replaced GNOME's favorite-apps list with a
hard-coded copy. Whenever Tails changed its defaults the copy went
stale: Files disappeared from the dock, and Tails 7.6 replaced
KeePassXC with Secrets, so the password manager vanished too.

Read the current favorites and move CipherStick, Bitcoin Core and
codex32 to the front, keeping every other entry as Tails or the user
set it. No Tails app names are hard-coded, so later Tails releases
need no change here. If the list cannot be read, leave the dock
untouched.

codex32 is included because stateless CryoStick users run it every
session to recover keys for signing, and the three icons together
introduce CipherStick when the Activities overview opens.

Refs #240
@BenWestgate
BenWestgate force-pushed the 253-cipherstick-autostart branch from bb6b0ce to d98d33d Compare October 3, 2026 20:49
@BenWestgate
BenWestgate force-pushed the restore-files-favorite branch from 9d22cc6 to 5fb914a Compare October 3, 2026 20:49

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just consider renaming the .desktop for codex32 soon, it's very long

Comment thread bails/.local/bin/cipherstick-login
@BenWestgate

Copy link
Copy Markdown
Owner Author

Thank you @PolymathBT for this bug report!

it's because they replaced KeeppassXC with GNOME Secrets. That's also why strong passphrases were called weak! (I had called KeepassXC to estimate their entropy.)

@BenWestgate
BenWestgate merged commit 2a50c54 into 253-cipherstick-autostart Oct 4, 2026
6 of 8 checks passed
@BenWestgate
BenWestgate deleted the restore-files-favorite branch October 4, 2026 06:51
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.

2 participants