gnunet-svn
[Top][All Lists]
Advanced

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

[taler-typescript-core] branch master updated: embedded wallet: remove t


From: Admin
Subject: [taler-typescript-core] branch master updated: embedded wallet: remove testing-dangerously-eval handler
Date: Fri, 13 Jun 2025 00:46:35 +0200

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

dold pushed a commit to branch master
in repository taler-typescript-core.

The following commit(s) were added to refs/heads/master by this push:
     new 78fc99d03 embedded wallet: remove testing-dangerously-eval handler
78fc99d03 is described below

commit 78fc99d03ccd08f39923345c965982bcfe3bd707
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Jun 13 00:46:31 2025 +0200

    embedded wallet: remove testing-dangerously-eval handler
    
    Issue: https://bugs.taler.net/n/10097
---
 packages/taler-wallet-embedded/src/wallet-qjs.ts | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts 
b/packages/taler-wallet-embedded/src/wallet-qjs.ts
index fc70e652b..cc3a69423 100644
--- a/packages/taler-wallet-embedded/src/wallet-qjs.ts
+++ b/packages/taler-wallet-embedded/src/wallet-qjs.ts
@@ -218,18 +218,6 @@ export function installNativeWalletListener(): void {
       if (msg.operation.startsWith("anastasis")) {
         // Entry point for Anastasis
         respMsg = await handleAnastasisRequest(operation, id, msg.args ?? {});
-      } else if (msg.operation === "testing-dangerously-eval") {
-        // Eval code, used only for testing. No client may rely on this.
-        logger.info(`evaluating ${msg.args.jscode}`);
-        const f = new Function(msg.args.jscode);
-        f();
-
-        respMsg = {
-          type: "response",
-          result: {},
-          operation: "testing-dangerously-eval",
-          id: msg.id,
-        };
       } else {
         // Entry point for wallet-core
         respMsg = await handler.handleMessage(operation, id, msg.args ?? {});

-- 
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]