From 732ba9c860b1e7cace1d582bcaf891dbc48f6200 Mon Sep 17 00:00:00 2001 From: nic Date: Mon, 25 Sep 2023 23:13:08 +0200 Subject: Splitted auditor-0001 and removed master_pub --- src/auditordb/0002-auditor_exchange_signkeys.sql | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/auditordb/0002-auditor_exchange_signkeys.sql (limited to 'src/auditordb/0002-auditor_exchange_signkeys.sql') diff --git a/src/auditordb/0002-auditor_exchange_signkeys.sql b/src/auditordb/0002-auditor_exchange_signkeys.sql new file mode 100644 index 000000000..dbd15cf71 --- /dev/null +++ b/src/auditordb/0002-auditor_exchange_signkeys.sql @@ -0,0 +1,25 @@ +-- +-- This file is part of TALER +-- Copyright (C) 2014--2022 Taler Systems SA +-- +-- TALER is free software; you can redistribute it and/or modify it under the +-- terms of the GNU General Public License as published by the Free Software +-- Foundation; either version 3, or (at your option) any later version. +-- +-- TALER is distributed in the hope that it will be useful, but WITHOUT ANY +-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +-- A PARTICULAR PURPOSE. See the GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License along with +-- TALER; see the file COPYING. If not, see +-- + +CREATE TABLE IF NOT EXISTS auditor_exchange_signkeys + ,ep_start INT8 NOT NULL + ,ep_expire INT8 NOT NULL + ,ep_end INT8 NOT NULL + ,exchange_pub BYTEA NOT NULL CHECK (LENGTH(exchange_pub)=32) + ,master_sig BYTEA NOT NULL CHECK (LENGTH(master_sig)=64) + ); +COMMENT ON TABLE auditor_exchange_signkeys + IS 'list of the online signing keys of exchanges we are auditing'; \ No newline at end of file -- cgit v1.2.3