certbot/tests
sydneyli 7d0ac47139 Change default privkey permissions while preserving group permissions (#6480)
Fixes #1473.

writes privkey.pem to 0600 by default for new lineages
on renewals where a new privkey is generated, preserves group mode and gid
Things this PR does not do:

we talked about forcing 0600 on privkeys when a Certbot upgrade is detected. Instead, this PR only creates new lineages with the more restrictive permission to prevent renewal breakages.
this doesn't solve many of the problems mentioned in #1473 that are not directly related to the title issue!

* safe_open on archive keyfiles

* keep group from current lineage

* clean up integration test

* safe_open can follow symlinks

* fix tests on windows, maybe

* Address Brad's comments

* Revert changes to safe_open
* Test chown is called when saving new key
* Reorder chown operation

* Changelog and documentation

* Fix documentation style
2018-11-29 09:33:05 -08:00
..
integration Add and test new nginx parsing abstractions (#6383) 2018-10-19 12:30:32 -07:00
letstest Fix test_sdists test farm test (#6524) 2018-11-20 18:39:12 -05:00
boulder-fetch.sh Clean up boulder-fetch a bit. (#6032) 2018-05-24 10:53:21 -07:00
boulder-integration.sh Separate integration (#5814) 2018-08-29 14:11:13 -07:00
certbot-boulder-integration.sh Change default privkey permissions while preserving group permissions (#6480) 2018-11-29 09:33:05 -08:00
display.py Mitigate problems for people who run without -n (#3916) 2016-12-19 12:45:40 -08:00
lock_test.py [Windows|Unix] Rewrite bash scripts for tests into python (#6435) 2018-11-07 17:16:16 -08:00
manual-dns-auth.sh Fix --allow-subset-of-names (#5690) 2018-03-08 11:12:33 -08:00
manual-dns-cleanup.sh Fix --allow-subset-of-names (#5690) 2018-03-08 11:12:33 -08:00
manual-http-auth.sh Enable boulder tests on Python 3 2017-04-15 02:32:18 +08:00
manual-http-cleanup.sh Merge the manual and script plugins (#3890) 2016-12-22 08:24:08 -08:00
modification-check.py Fail-fast in test/cover/lint scripts (#6487) 2018-11-14 13:57:40 -08:00
run_http_server.py Drop support for EOL Python 2.6 and 3.3 2018-02-16 16:14:01 -08:00
tox-boulder-integration.sh Retry failures to start boulder (#5176) 2017-10-12 17:00:13 -07:00