From 5aecbcd3e59119533658b792c6dafa0c6efd9d5b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 31 Oct 2022 00:41:23 +0530 Subject: Put isql commands on a single line. We put isql commands on a single line in the hope that they will not be echoed thus leaking the password. * load-rdf.scm (delete-graph): Put isql commands on a single line. --- load-rdf.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/load-rdf.scm b/load-rdf.scm index 4cd7841..b432a83 100755 --- a/load-rdf.scm +++ b/load-rdf.scm @@ -152,12 +152,8 @@ authenticating as the dba user with PASSWORD." (call-with-pipe (lambda (out) (format out - "SET DSN=localhost:~a; -SET PWD=~a; -DELETE FROM rdf_quad WHERE g = iri_to_id ('~a');" - port - password - graph)) + "SET DSN=localhost:~a; SET PWD=~a; DELETE FROM rdf_quad WHERE g = iri_to_id ('~a');" + port password graph)) OPEN_WRITE "isql")) -- cgit v1.2.3