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

updates sd-gpg autoaccept timeout to 8 hours #207

Merged

Conversation

zenmonkeykstop
Copy link
Contributor

This addresses #154 by increasing the split GPG autaccept interval to 1 hour for the sd-gpg vault VM

In UX terms, this will mean that the user will be prompted with the gpg accept dialog once at the beginning of their session and then again every hour. General consensus seems to be that the dialog offers no security benefits, so the interval could even be bumped up higher. It doesn't look like it can be suppressed without changes in split-gpg.

@ninavizz
Copy link
Member

Noted in Issue #154 that it'd be preferred to increase the time to 8hrs; Conor & Mikael & Jen thumbs-up'd the req! 💃

@zenmonkeykstop
Copy link
Contributor Author

zenmonkeykstop commented Nov 11, 2018 via email

@zenmonkeykstop zenmonkeykstop force-pushed the 154-increase-split-gpg-timeout branch from d602956 to 7cbdb86 Compare November 12, 2018 01:21
@zenmonkeykstop zenmonkeykstop changed the title updates sd-gpg autoaccept timeout to 1hr updates sd-gpg autoaccept timeout to 8 hours Nov 12, 2018
Same as we're doing in the dom0 Qubes RPC policies, for
forward-compatibility: we want to make sure we can adjust settings over
time automatically. Setting the block as a target ensures that any
content changes will be replaced entirely. Using "append" rather than
"prepend" mode since later lines in a sourced file will override
prior entries.
@conorsch
Copy link
Contributor

Works as advertised. Tweaked the provisioning logic to allow updates over time, using blockreplace with markers, same as we did in #187.

Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

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

Confirmed new timeout is 28800 seconds, as displayed in the graphical prompt when starting the client.

@conorsch conorsch merged commit b36ea1e into freedomofpress:master Nov 12, 2018
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.

3 participants