Skip to content

Tokens should not be stored in repository remotes, at least by default #10

@afeblot

Description

@afeblot

When cloning using --http --token <MyToken>, all git repository remotes include the token:

https://token:<MyToken>@gitlab.mycompany.com/path/to/repo.git 

I think, at least by default, remotes should be created without the auth part (and we rely on git credential.helper=store to hold the token), and writing the token in each and every repo remotes should be an explicit request from the user.

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