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

Apt: fix InRelease file signature #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kayuma
Copy link

@kayuma kayuma commented Apr 2, 2023

Fix inline gpg signature for InRelease file. Debootstrap for example, fetches InRelease file, splits the signature and content part from it and verifies the signature by using detached signature verification. The following command is used by debootstrap to check the signature:
'gpgv --status-fd 1 --verbose --keyring --ignore-time-conflict Release.gpg Release'
Note: The Release.gpg signature is the extracted signature from InRelease and Release is the signed content from InRelease and not the "normal" external Release.gpg signature / Release file provided from the repository.

… fetches InRelease file, splits the signature and content part from it and verifies the signature by using detached signature verification. The following command is used by debootstrap to check the signature:

'gpgv --status-fd 1 --verbose --keyring <path to keyring.gpg> --ignore-time-conflict Release.gpg Release'
Note: The Release.gpg signature is the extracted signature from InRelease and Release is the signed content from InRelease and not the "normal" external Release.gpg signature / Release file provided from the repository.
@kayuma kayuma force-pushed the bugfix/apt-InRelease-signature branch from c67f5b3 to 1807632 Compare April 6, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant