Skip to content

Storage of token secret in cleartext #1

@jennydaman

Description

@jennydaman

this.tokenFile = name.replace("/", "_") + "_token.txt";
this.tokenFilepath = options.tokenFilepath || "";

Secrets should not be written in cleartext to files. Popular alternative solutions include:

  • Obfuscation (e.g. docker login, podman login, popular pick is to use base64 encoding). Bad but better than nothing.
  • System keyring (e.g. https://pypi.org/project/keyring/), usually works ok, in some cases decoupled integration with password managers is achieved

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions