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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to increase security #1

Open
wimjongman opened this issue Mar 17, 2024 · 3 comments
Open

How to increase security #1

wimjongman opened this issue Mar 17, 2024 · 3 comments
Labels
question Further information is requested

Comments

@wimjongman
Copy link

wimjongman commented Mar 17, 2024

Thank you for this service. 馃檹

How can we know that what you provide as bundles is safe?

@eureka-bpo
Copy link
Owner

Each p2-repository has file "artifacts.xml" (possible with jar or xz extension). This file contains a list of bundles and their checksums (usually SHA-512, SHA-256, sometimes MD-5). All these algorithms are supported by maven and can be used to validate jars of bundles. Content of bundles is transmitted by service without modification, checksum remains unchanged.

Service generates maven-specific artifacts: pom.xml, metadata-files - to adapt p2-repository structure for usage with maven.

@eureka-bpo eureka-bpo added the question Further information is requested label Mar 17, 2024
@wimjongman
Copy link
Author

Thanks for getting back so quickly. Please do not take this as being ungrateful. I am just being paranoid,

Is it not possible for you to repackage? How can consumers be sure that the content you are redistribution matches the original content?

@eureka-bpo
Copy link
Owner

eureka-bpo commented Mar 17, 2024

Is it not possible for you to repackage?

Service stores only metadata of p2-artifacts, not their binary content. For binary content service serves as proxy between customer and one of p2-repository mirror.

How can consumers be sure that the content you are redistribution matches the original content?

Maven resolver proposes different strategies to validate checksums. If default validation is not enough, customer can download artifacts.xml, extract checksums for all p2-repository artifacts and use it to validate service output. In this case validation will be absolute independent.

@eureka-bpo eureka-bpo changed the title How safe is this repository How to increase security Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants