I don't think the tool works anymore. Tried first installing using pip but got packagedb errors. Then I installed from source with:
pip3 install -e .
Using virtual environment in Ubuntu 24.04.
Now the tool runs without errors, but doesn't matter what purl or command is used, always the result is supposedly valid but has no content and does not match what is given in the repo readme. I do see query out of the computer in Wireshark, so something happens, but not quite how it's supposed to work I think.
purlcli validate --purl pkg:npm/canonical-path@1.0.0
{
"headers": [
{
"tool_name": "purlcli",
"tool_version": "0.2.0",
"options": {
"command": "validate",
"--purl": [
"pkg:npm/canonical-path@1.0.0"
],
"--file": null,
"--output": "<stdout>"
},
"purls": [
"pkg:npm/canonical-path@1.0.0"
],
"errors": [],
"warnings": []
}
],
"packages": [
{
"valid": true,
"exists": true,
"message": "The provided Package URL is valid, and the package exists in the upstream repo.",
"purl": "pkg:npm/canonical-path@1.0.0"
}
]
}
I don't think the tool works anymore. Tried first installing using pip but got packagedb errors. Then I installed from source with:
pip3 install -e .
Using virtual environment in Ubuntu 24.04.
Now the tool runs without errors, but doesn't matter what purl or command is used, always the result is supposedly valid but has no content and does not match what is given in the repo readme. I do see query out of the computer in Wireshark, so something happens, but not quite how it's supposed to work I think.