Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visible private token in qompoter.lock file #11

Open
MichelC-20 opened this issue Mar 19, 2024 · 0 comments
Open

Visible private token in qompoter.lock file #11

MichelC-20 opened this issue Mar 19, 2024 · 0 comments
Labels

Comments

@MichelC-20
Copy link

MichelC-20 commented Mar 19, 2024

When downloading dependencies as lib, using qompoter update command, the private token is visible in resulted qompoter.lock file

Version : v0.5.1

Example :
qompoter.json file

{
        "name": "george/return-of-the-jedi",
        "authors": [
            {
                "name": "George Lucas",
                "homepage": "https://starwars.com"
            }
        ],
        "require": {
            "young/luke": "v0.2.1-lib:green-light-saber",
            "young/leia": "v0.5.*",
            "old/yoda": "master"
        },
        "repositories": {
            "old/yoda" : "https://github.com"
        }
    }

qompoter.lock file after using qomopoter update

{
  "last": "123456789",
  "name": "george/return-of-the-jedi",
  "date": "2024-03-18T11:03:04+01:00",
  "require": {
    "young/luke": { "version": "v0.2.1-lib", "type": "gitlab", "url": "https://github.com/api/v4/projects/young%2Fluke/jobs/artifacts/v0.2.1-lib/download?job=green-light-saber&private_token=<privateToken>", "md5sum": "456789123" }
    ,"young/leia": { "version": "v0.5.1", "type": "git", "url": "https://github.com:/young/leia.git", "md5sum": "456123789" }
    ,"old/yoda": { "version": "master", "type": "git", "url": "https://github.com:/old/yoda.git", "md5sum": "987654321" }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants