[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libeufin] branch master updated: fix names
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libeufin] branch master updated: fix names |
Date: |
Wed, 09 Oct 2019 16:48:37 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new c03762a fix names
c03762a is described below
commit c03762afa557d0528990322ef89bda281d5ef80a
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Oct 9 16:48:33 2019 +0200
fix names
---
sandbox/src/main/kotlin/JSON.kt | 16 ++++++++--------
sandbox/src/main/python/libeufin-cli | 24 ++++++++++++------------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/sandbox/src/main/kotlin/JSON.kt b/sandbox/src/main/kotlin/JSON.kt
index b62090a..86a9629 100644
--- a/sandbox/src/main/kotlin/JSON.kt
+++ b/sandbox/src/main/kotlin/JSON.kt
@@ -68,14 +68,14 @@ data class HiaLetter(
val date: String,
val time: String,
val recipient: String,
- val ia_exponent_length: Int,
- val ia_exponent: String,
- val ia_modulus_length: Int,
- val ia_modulus: String,
+ val ia_public_exponent_length: Int,
+ val ia_public_exponent: String,
+ val ia_public_modulus_length: Int,
+ val ia_public_modulus: String,
val ia_hash: String,
- val enc_exponent_length: Int,
- val enc_exponent: String,
- val enc_modulus_length: Int,
- val enc_modulus: String,
+ val enc_public_exponent_length: Int,
+ val enc_public_exponent: String,
+ val enc_public_modulus_length: Int,
+ val enc_public_modulus: String,
val enc_hash: String
)
diff --git a/sandbox/src/main/python/libeufin-cli
b/sandbox/src/main/python/libeufin-cli
index e80bd77..6cd1563 100755
--- a/sandbox/src/main/python/libeufin-cli
+++ b/sandbox/src/main/python/libeufin-cli
@@ -171,10 +171,10 @@ def keyletter(obj, customer_id):
time=ts.strftime("%H.%M.%S"),
recipient=RECIPIENT_BANK,
version=ES_VERSION,
- exponent_length=eskey.n.bit_length(),
- exponent=es_exponent,
- modulus_length=eskey.e.bit_length(),
- modulus=es_modulus,
+ public_exponent_length=eskey.n.bit_length(),
+ public_exponent=es_exponent,
+ public_modulus_length=eskey.e.bit_length(),
+ public_modulus=es_modulus,
hash=hashlib.sha256("{} {}".format(es_exponent,
es_modulus).encode()).hexdigest()
),
@@ -186,16 +186,16 @@ def keyletter(obj, customer_id):
time=ts.strftime("%H.%M.%S"),
recipient=RECIPIENT_BANK,
ia_version=IA_VERSION,
- ia_exponent_length=iakey.e.bit_length(),
- ia_exponent=ia_exponent,
- ia_modulus_length=iakey.n.bit_length(),
- ia_modulus=ia_modulus,
+ ia_public_exponent_length=iakey.e.bit_length(),
+ ia_public_exponent=ia_exponent,
+ ia_public_modulus_length=iakey.n.bit_length(),
+ ia_public_modulus=ia_modulus,
ia_hash=hashlib.sha256("{} {}".format(ia_exponent,
ia_modulus).encode()).hexdigest(),
enc_version=ENC_VERSION,
- enc_exponent_length=enckey.e.bit_length(),
- enc_exponent=enc_exponent,
- enc_modulus_length=enckey.n.bit_length(),
- enc_modulus=enc_modulus,
+ enc_public_exponent_length=enckey.e.bit_length(),
+ enc_public_exponent=enc_exponent,
+ enc_public_modulus_length=enckey.n.bit_length(),
+ enc_public_modulus=enc_modulus,
enc_hash=hashlib.sha256("{} {}".format(enc_exponent,
enc_modulus).encode()).hexdigest()
)
)
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [libeufin] branch master updated: fix names,
gnunet <=