mirror of https://github.com/nucypher/nucypher.git
Touch-ups for Enrico exmaples style; Adds secondary custom install path test constant; Fixup ci config.
parent
c43cdd573b
commit
66a4ef1803
|
@ -170,7 +170,6 @@ workflows:
|
|||
ignore: /.*/
|
||||
requires:
|
||||
- cli
|
||||
- ursula_command
|
||||
- test_deploy:
|
||||
context: "NuCypher PyPI"
|
||||
requires:
|
||||
|
|
|
@ -106,7 +106,7 @@ for counter, plaintext in enumerate(finnegans_wake):
|
|||
#########################
|
||||
# Enrico, the Encryptor #
|
||||
#########################
|
||||
enrico = Enrico(policy_pubkey_enc=policy_pubkey)
|
||||
enrico = Enrico(policy_encrypting_key=policy_pubkey)
|
||||
|
||||
# In this case, the plaintext is a
|
||||
# single passage from James Joyce's Finnegan's Wake.
|
||||
|
|
|
@ -16,8 +16,8 @@ def generate_heart_rate_samples(policy_pubkey,
|
|||
label: bytes = DEFAULT_LABEL,
|
||||
samples: int = 500,
|
||||
save_as_file: bool = False):
|
||||
data_source = Enrico(policy_pubkey_enc=policy_pubkey,
|
||||
label=label)
|
||||
data_source = Enrico(policy_encrypting_key=policy_pubkey,
|
||||
label=label)
|
||||
|
||||
data_source_public_key = bytes(data_source.stamp)
|
||||
|
||||
|
|
|
@ -73,3 +73,6 @@ MOCK_IP_ADDRESS_2 = '10.10.10.10'
|
|||
MOCK_URSULA_DB_FILEPATH = ':memory:'
|
||||
|
||||
MOCK_CUSTOM_INSTALLATION_PATH = '/tmp/nucypher-tmp-test-custom-{}'.format(time.time())
|
||||
|
||||
MOCK_CUSTOM_INSTALLATION_PATH_2 = '/tmp/nucypher-tmp-test-custom-2-{}'.format(time.time())
|
||||
|
||||
|
|
Loading…
Reference in New Issue