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

Need a simple way for swiftly to import only active GPG keys #776

Open
rayx opened this issue Aug 8, 2024 · 0 comments
Open

Need a simple way for swiftly to import only active GPG keys #776

rayx opened this issue Aug 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rayx
Copy link

rayx commented Aug 8, 2024

Is your feature request related to a problem? Please describe

Swift.org website provides all-keys.asc file at https://www.swift.org/keys/all-keys.asc. The file is used by swiftly project to verify toolchain file signature. However, as the file contains all keys (including those expired), it generates noise on user system. An issue was reported against swiftly. See: swiftlang/swiftly#148. During the discussion on that issue, it's suggested that Swift.org should provide an asc file containing only active keys.

Describe the solution you'd like

Swift.org should provide an asc file containing only active keys

Describe alternatives you've considered

Alt 1) Skip expired keys when importing keys from all-keys.asc. Unfortunately gpg doesn't have an out-of-box support for this. According to its man page, while its filter expression supports expired property, that only works for --export-filter, not --import-filter.

Alt 2) Swift website has a page for active GPG keys (https://www.swift.org/keys/active/). But it's not friendly for script to parse.

Additional context

N/A

@rayx rayx added the enhancement New feature or request label Aug 8, 2024
@0xTim 0xTim added the workgroup-to-discuss Issue/PR to be discussed by the SWWG in the next meeting label Aug 11, 2024
@shahmishal shahmishal self-assigned this Aug 27, 2024
@shahmishal shahmishal removed the workgroup-to-discuss Issue/PR to be discussed by the SWWG in the next meeting label Aug 27, 2024
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

No branches or pull requests

3 participants