Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit fb263d1

Browse files
committed
Enforce parameters for superclass sign/verify funcs
1 parent 08ca125 commit fb263d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

httpsig/sign_algorithms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ class SignAlgorithm(object):
1313
__metaclass__ = ABCMeta
1414

1515
@abstractmethod
16-
def sign(self, *args):
16+
def sign(self, private, data):
1717
raise NotImplementedError()
1818

1919
@abstractmethod
20-
def verify(self, *args):
20+
def verify(self, public, data, signature):
2121
raise NotImplementedError()
2222

2323

0 commit comments

Comments
 (0)