mirror of https://github.com/nucypher/nucypher.git
Let's see how the graph changes if we only cover nkms.
parent
b90da13470
commit
334c7807ad
|
@ -0,0 +1,2 @@
|
|||
[run]
|
||||
source=nkms
|
|
@ -8,3 +8,4 @@ __pycache__
|
|||
/MANIFEST
|
||||
/.tox
|
||||
/.idea
|
||||
.coverage
|
||||
|
|
|
@ -7,7 +7,7 @@ install:
|
|||
- pip install pipenv --upgrade
|
||||
- pipenv install --dev --three
|
||||
script:
|
||||
- pipenv run "pytest --cov=./ -v tests"
|
||||
- pipenv run "pytest --cov=./nkms/* -v tests"
|
||||
- codecov
|
||||
notifications:
|
||||
slack:
|
||||
|
|
|
@ -69,8 +69,8 @@ class CryptoPower(object):
|
|||
"""
|
||||
try:
|
||||
sig_keypair = self._power_ups[SigningPower]
|
||||
except KeyError:
|
||||
raise NoSigningPower
|
||||
except KeyError as e:
|
||||
raise NoSigningPower(e)
|
||||
msg_digest = b"".join(API.keccak_digest(m) for m in messages)
|
||||
|
||||
return sig_keypair.sign(msg_digest)
|
||||
|
|
Loading…
Reference in New Issue