Skip to content

config file permissions should be more restrictive #66

Closed
@theimpostor

Description

@theimpostor

Running the command gptcommit config set openai.api_key sk-... the first time produced a config.toml which had group and world read permissions enabled (0644). Since this file contains an API key, seems like a good idea to create it with user read permissions only (0600).

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