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

CRUD helper functions for subpacket types 23 and 24 #206

Closed
andrewgdotcom opened this issue Apr 9, 2024 · 0 comments
Closed

CRUD helper functions for subpacket types 23 and 24 #206

andrewgdotcom opened this issue Apr 9, 2024 · 0 comments

Comments

@andrewgdotcom
Copy link
Contributor

From the comment thread on the (similar) PR #200 :

Subpacket types 23, 24 and 31 are also conspicuously missing. It would be nice to also have these, particularly for future keyserver work but also because it should be safe in general to parse e.g. a sig with a critical "keyserver preferences" subpacket (if someone was crazy enough to do that). I'd be happy to help out with that.
A library should be able to CRUD such "user intent" subpackets. Beyond that I think it's entirely an application issue.

For reference, these subpacket types are:

  • 23 - Key Server Preferences (N octets of flags)
  • 24 - Preferred Key Server (String, to be interpreted as a URI)
  • 31 - Signature Target (1 octet public-key algorithm, 1 octet hash algorithm, N octets hash)

No processing of these values is required at the library level, however the application layer should have the ability to CRUD these subpackets, and the library layer should pass them through gracefully.

Note that it is an open question whether type 31 is useful (see https://gitlab.com/dkg/openpgp-revocation/-/issues/13), so I suggest only implementing types 23 and 24 at this time.


@lubux lubux closed this as completed in 7852179 Sep 23, 2024
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

No branches or pull requests

1 participant