Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 931
    • Issues 931
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Merge requests
  • !681

Merged
Created Nov 30, 2021 by intrigeri@intrigeriMaintainer9 of 9 tasks completed9/9 tasks

Automatic time sync before connecting to Tor in automatic mode

  • Overview 160
  • Commits 115
  • Pipelines 84
  • Changes 36

Closes #18717 (closed), #18830 (closed)

  • rewrite curl client so that it accepts certificates valid in the future, as per Mitigate attack by active network adversary on ... (#18830 - closed)

    • compile the Go client, aka https-get-expired
    • integrate https-get-expired in config/chroot_local-includes/usr/local/sbin/htpdate
  • avoid races between Tor Connection and tails-get-network-time (done, please review)

    • make sure there is a timeout to tails-get-network-time
    • check that even if it fails, the connection to Tor must be attempted
    • review the new UI. In particular:
      • there is no indication to the user that "syncing our clock" failed
      • progress bar doesn't account for "syncing our clock"
  • test again in Bullseye

Note for the reviewers:

  • double-check, in debug.log, [check_tor_leaks]: they should match what you expect
  • grep for Warning: these queries were allowed but not needed: . This should never happen.
  • to allow for easy testing, I use httpbin.org in the test suite. Do we think this is a problem? I don't think so, because:
    • even if this is some form of lock-in, that application is free software, apparently well-packaged, so we could even run our own instance.
    • in terms of reliability... let's see how it fares!
Edited May 09, 2022 by intrigeri
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 18717-time-sync-before-tor