Extract contract for cryptography package #105
Labels
No Label
ANSIBLE
BUG
CODE
DEVELOPMENT
DOCUMENTATION
FEEDBACK
FIX
HOWTOs
IDEA
INFRA
ISSUE
MAILSERVER
TESTS
To-Be-Reviewed
WEB
WEBSITE
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/gpg-lacre#105
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.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 likelist_keys
,add_key
,delete_key
, orget_key
.Key
orKeyPair
, with methods likeencrypt
, orlist_emails
.