Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
Enforce parameters for superclass sign/verify funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
fulder committed Aug 25, 2020
1 parent 08ca125 commit fb263d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpsig/sign_algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class SignAlgorithm(object):
__metaclass__ = ABCMeta

@abstractmethod
def sign(self, *args):
def sign(self, private, data):
raise NotImplementedError()

@abstractmethod
def verify(self, *args):
def verify(self, public, data, signature):
raise NotImplementedError()


Expand Down

0 comments on commit fb263d1

Please sign in to comment.