Extract contract for cryptography package #105

Open
opened 2022-10-24 22:57:38 +02:00 by pfm · 1 comment
Collaborator

To make it easier to develop Sequoia module as a drop-in replacement for GnuPG module provided with Lacre, extract and document contract for a cryptography package.

As a result, our own code would get a bit more modular and make it easier to replace GnuPG module with another component in the future.

To make it easier to develop Sequoia module as a drop-in replacement for `GnuPG` module provided with Lacre, extract and document contract for a cryptography package. As a result, our own code would get a bit more modular and make it easier to replace `GnuPG` module with another component in the future.
pfm added this to the Sequoia Integration milestone 2022-10-24 22:57:38 +02:00
pfm added the
DEVELOPMENT
label 2022-10-24 22:57:38 +02:00
Author
Collaborator

Since GnuPG API includes plain functions, it'll be necesssary to refactor it before extracting an interface.

List of classes this interface should expose:

  • Keyring, with methods like list_keys, add_key, delete_key, or get_key.
  • Key or KeyPair, with methods like encrypt, or list_emails.
Since `GnuPG` API includes plain functions, it'll be necesssary to refactor it before extracting an interface. List of classes this interface should expose: * `Keyring`, with methods like `list_keys`, `add_key`, `delete_key`, or `get_key`. * `Key` or `KeyPair`, with methods like `encrypt`, or `list_emails`.
pfm added reference gnupg-tests 2022-12-16 21:57:29 +01:00
Sign in to join this conversation.
No description provided.