Skip to content

pairing: write state atomically with private permissions - #243

Open
fallintoplace wants to merge 1 commit into
ClickHouse:mainfrom
fallintoplace:fix/atomic-pairing-state
Open

pairing: write state atomically with private permissions#243
fallintoplace wants to merge 1 commit into
ClickHouse:mainfrom
fallintoplace:fix/atomic-pairing-state

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

Summary

  • write Telegram pairing state through the existing atomic filesystem helper
  • apply owner-only permissions before secret content is written
  • preserve the previous valid state and clean up temporary files if replacement fails

Test plan

  • .venv/bin/python -m pytest -q tests/test_pairing.py tests/test_utils_fs.py
  • broader suite: 2939 passed

@fallintoplace fallintoplace changed the title Make Telegram pairing state writes atomic pairing: write state atomically with private permissions Aug 1, 2026
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