Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install-core and persistent-setup dialog in Tails 6 #116

Closed
wants to merge 589 commits into from

Conversation

BenWestgate
Copy link
Owner

The width was excessive in Tails 6.

I also made improvements to the text of a few.

@BenWestgate BenWestgate linked an issue Mar 28, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Mar 28, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@BenWestgate BenWestgate requested a review from epiccurious March 28, 2024 16:10
@BenWestgate BenWestgate self-assigned this Mar 28, 2024
@BenWestgate BenWestgate added the bug Something isn't working label Mar 28, 2024
@BenWestgate BenWestgate added this to the L1 (BETA) milestone Mar 28, 2024
@BenWestgate BenWestgate enabled auto-merge (rebase) March 28, 2024 16:11
@BenWestgate
Copy link
Owner Author

@epiccurious check out the dialog text changes and if you think they're better approve them and this will auto-merge to master.

@BenWestgate BenWestgate disabled auto-merge March 28, 2024 17:36
Copy link
Collaborator

@epiccurious epiccurious left a comment

Choose a reason for hiding this comment

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

Changes look good. Have you tested or would you like me to?

bin/install-core Outdated
"

for ((i = 10; i >= 1; i--)); do
for ((i = 30; i >= 1; i--)); do
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be a hard-coded variable like ${sleep_time} for this line and line 274?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Not if I or the script never plan to change it again.

@@ -115,8 +122,18 @@ fi

# Display memorization tips
zenity --info --title='Tips for your new passphrase' \
--text="You will be prompted periodically to enter your passphrase as spaced repetition training. Practice entering your passphrase <i>daily at first and then at least once a week</i> to commit it to memory.\n\nIt is essential to keep your passphrase safe. Do not re-use it for any other accounts. If you wrote it down, store it out of sight, in a secured location, away from your Bails USB sticks and destroy it once you memorize it." \
--ok-label='I Will Destroy It Once Memorized' --width=640 $ICON
--text="You will be prompted to enter your passphrase as spaced repetition training.\n\nPractice entering your passphrase <i>daily at first and then at least once a week</i> to commit it to memory.\n
Copy link
Owner Author

Choose a reason for hiding this comment

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

@epiccurious: review of this dialog text would be nice. I went Autistic on it. You can copy the code into Ubuntu terminal and it will mostly look the same as it would have in Tails if you don't have a VM open.

• locked desk drawer, or
• your wallet\nfor a few days, and destroy it once you know it well.\n
Write on a hard surface to avoid leaving an imprint of the secret.' \
--ok-label='I Will Write My Passphrase Down' --icon-name=org.gnome.TextEditor
Copy link
Owner Author

Choose a reason for hiding this comment

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

@epiccurious: This one is also changed but it's not as expansive. Mostly presenting bullet options of places to secure it since I found conflicting advice from reputable sources suggesting all 3 of these.

@BenWestgate
Copy link
Owner Author

BenWestgate commented May 9, 2024

Changes look good. Have you tested or would you like me to?

@epiccurious: I just tested it in my mind and it's passing. But you may want to read or launch the dialog text changes to make sure they're actually better than master before I merge.

I looked at them too long to have a good opinion anymore.

@epiccurious
Copy link
Collaborator

Branch will need a rebase to resolve the lint issues.

@BenWestgate BenWestgate deleted the 107-write-passphrase-down-dialog-funky branch May 16, 2024 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write passphrase down dialog funky
2 participants