Skip to content

OpenPGP Smart Card: Modularization and basic OpenPGPKeyEditor support - #2588

Open
vanitasvitae wants to merge 6 commits into
bcgit:mainfrom
pgpainless:smartcard_6
Open

vanitasvitae wants to merge 6 commits into
bcgit:mainfrom
pgpainless:smartcard_6

Conversation

@vanitasvitae

Copy link
Copy Markdown
Contributor

This PR further modularizes the code base:

  • The (generalized) test suite is moved to pgsc-test from which it can be extended by concrete pgsc implementations. This makes it easier to have future implementations easily make use of the test suite.
  • The simulator implementation is also moved into pgsc-test to prevent it from being used in production.
  • The simulator implementation now runs the pgsc-test suite
  • Yubikit-related code has been moved to pgsc-yubikit which runs the pgsc-test suite.
  • OpenPGPKeyEditor now has support for hardware-backed primary keys, so it can modify (software-backed) components. Support for adding hardware-backed keys will be added at a later point, as well as support for generating hw-backed OpenPGP keys.
  • OpenPGPCertificate had a bug, where a user-id signature would shadow attributes from direct-key (preference) signatures.

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