summaryrefslogtreecommitdiff
path: root/src/mailman_pgp/workflows/pubkey.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/workflows/pubkey.py')
-rw-r--r--src/mailman_pgp/workflows/pubkey.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mailman_pgp/workflows/pubkey.py b/src/mailman_pgp/workflows/pubkey.py
index a13d491..65ea74d 100644
--- a/src/mailman_pgp/workflows/pubkey.py
+++ b/src/mailman_pgp/workflows/pubkey.py
@@ -1,6 +1,7 @@
from mailman.email.message import UserNotification
from mailman.interfaces.subscriptions import TokenOwner
from pgpy import PGPKey
+from public import public
from mailman_pgp.database import transaction
from mailman_pgp.model.address import PGPAddress
@@ -27,6 +28,7 @@ Token: {}
"""
+@public
class SetPubkeyMixin:
def __init__(self, pubkey=None):
self.pubkey = pubkey
@@ -73,6 +75,7 @@ class SetPubkeyMixin:
self._set_token(TokenOwner.no_one)
+@public
class ConfirmPubkeyMixin:
def __init__(self, pre_confirmed=False):
self.pubkey_confirmed = pre_confirmed