gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: disable authentication for now


From: gnunet
Subject: [libeufin] branch master updated: disable authentication for now
Date: Sun, 17 Jan 2021 00:27:58 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 13f060d  disable authentication for now
13f060d is described below

commit 13f060db756123bff121dee2e24f741aa884d033
Author: Florian Dold <florian@dold.me>
AuthorDate: Sun Jan 17 00:27:53 2021 +0100

    disable authentication for now
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
index cd9f4ba..5f5fb64 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
@@ -232,8 +232,9 @@ private suspend fun talerTransfer(call: ApplicationCall) {
     val transferRequest = call.receive<TalerTransferRequest>()
     val amountObj = parseAmount(transferRequest.amount)
     val creditorObj = parsePayto(transferRequest.credit_account)
-    val opaque_row_id = transaction {
-        val exchangeUser = authenticateRequest(call.request)
+    val opaqueRowId = transaction {
+        // FIXME: re-enable authentication 
(https://bugs.gnunet.org/view.php?id=6703)
+        // val exchangeUser = authenticateRequest(call.request)
         val creditorData = parsePayto(transferRequest.credit_account)
         /** Checking the UID has the desired characteristics */
         TalerRequestedPaymentEntity.find {
@@ -282,7 +283,7 @@ private suspend fun talerTransfer(call: ApplicationCall) {
                      * routine will send new PAIN.001 data to the bank; work 
in progress..
                      */
                     timestamp = GnunetTimestamp(System.currentTimeMillis()),
-                    row_id = opaque_row_id
+                    row_id = opaqueRowId
                 )
             ),
             ContentType.Application.Json

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]