Skip to content

Set tight permissions for key files #7

@zenhack

Description

@zenhack

Issue by Lekensteyn
Saturday Dec 05, 2015 at 15:11 GMT
Originally opened as kuba/simp_le#34


Ensure that key files are not world-readable.

temp_umask is based on test.support.temp_umask.

Fixes #29


If older Python versions do not have to be supported, then the test code could become something like:

@temp_umask(0o022)
def test_it():
    ...

Lekensteyn included the following code: https://github.com/kuba/simp_le/pull/34/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions