Skip to content

feat: strip authentication secrets from download/registry urls - #647

Merged
jkowalleck merged 17 commits into
dev/4.0.0from
4-strip-url-auth
Jan 10, 2024
Merged

jkowalleck merged 17 commits into
dev/4.0.0from
4-strip-url-auth

Conversation

@jkowalleck

@jkowalleck jkowalleck commented Jan 9, 2024 •

Copy link
Copy Markdown
Member

strip secret authentication information from registries and download urls - in accordance with PEP 610

url MUST be stripped of any sensitive authentication information, for security reasons.
[...]
Additionally, the user:password section of the URL MAY be a well-known, non security sensitive string.

fixes #646

Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck jkowalleck added the enhancement New feature or request label Jan 9, 2024
@jkowalleck jkowalleck added this to the 4.0.0 milestone Jan 9, 2024
Signed-off-by: Jan Kowalleck <[email protected]>
@codacy-production

codacy-production Bot commented Jan 9, 2024 •

Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
✅ +0.03% ✅ 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (bd401d6) 983 948 96.44%
Head commit (cab48b8) 992 (+9) 957 (+9) 96.47% (+0.03%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#647) 24 24 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
f
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck
jkowalleck marked this pull request as ready for review January 10, 2024 13:37
@jkowalleck
jkowalleck requested a review from a team as a code owner January 10, 2024 13:37
@jkowalleck jkowalleck changed the title [WIP] strip url auth strip url auth Jan 10, 2024
@jkowalleck jkowalleck changed the title strip url auth feat: strip url auth Jan 10, 2024
@jkowalleck jkowalleck changed the title feat: strip url auth feat: strip authenticatoin secrets from download/registry urls Jan 10, 2024
@jkowalleck jkowalleck changed the title feat: strip authenticatoin secrets from download/registry urls feat: strip authentication secrets from download/registry urls Jan 10, 2024
@jkowalleck
jkowalleck merged commit a2e3322 into dev/4.0.0 Jan 10, 2024
@jkowalleck
jkowalleck deleted the 4-strip-url-auth branch January 10, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant