« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 2098 ms

Secure token storage · Issue #715 · python-gitlab/python-gitlab

Source: https://github.com/python-gitlab/python-gitlab/issues/715

Repository navigation

Secure token storage  #715


New issue

New issue

Closed

Closed
Secure token storage #715 Labels
cli

Description

@jaraco's profile jaraco opened on Feb 26, 2019

Description of the problem, including code/CLI snippet

I haven't read the code, but from reading the documentation, it sounds like python-gitlab only has support for soliciting a private-token from a plain-text config file in the user's home directory. Better techniques exist for storing secrets more securely, including the keyring library , which stores passwords in system-managed secure stores. It would be nice if the library would allow and even recommend that tokens be stored/queried there.

Expected Behavior

Users would be incentivized not to store any secrets on the file system in plain text.

Actual Behavior

Users are required to store secrets in the file system in plain text.

Specifications

  • python-gitlab version: 1.8.0
  • API version you are using (v3/v4): n/a
  • Gitlab server version (or gitlab.com): n/a
Reacted by Graham Williamson, Jan Schreier, Benedek Racz and Brian G. Shacklett

Metadata

Metadata

Assignees

No one assigned

    Labels


    cli

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions