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

Add rpmkeys --export #3383

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

ffesti
Copy link
Contributor

@ffesti ffesti commented Oct 15, 2024

Just writes the keys out to stdout in an ASCII armored format.

Resolves: #3366

May be an option to write the keys into different files with the fingerprints as a filename might also be handy.

Just writes the keys out to stdout in an ASCII armored format.

Resolves: rpm-software-management#3366
@ffesti ffesti requested a review from a team as a code owner October 15, 2024 14:52
@ffesti ffesti requested review from pmatilai and removed request for a team October 15, 2024 14:52
@ffesti ffesti changed the title Add rpmkeys --expor Add rpmkeys --export Oct 15, 2024
@pmatilai pmatilai merged commit d376e45 into rpm-software-management:master Oct 16, 2024
1 check passed
@pmatilai
Copy link
Member

May be an option to write the keys into different files with the fingerprints as a filename might also be handy.

Nah, let's not invent options for theoretical use-cases. This is unix, and we're just handing people the tools to do whatever they please with this data:

for key in $(rpmkeys --list|cut -f1 -d' '); do rpmkeys --export ${key} > ${key}.asc; done

@ffesti ffesti deleted the exportkeys branch October 16, 2024 10:04
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.

RFE: add rpmkeys --export for exporting the ASCII armored key material
2 participants