From d37bdcdbcb7f061aece3057ca0d9bee9e3e7e7f0 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Sun, 25 Aug 2024 12:31:15 +0100 Subject: [PATCH] WIP: Allow decrypting logins/credentials via the API --- api/v1/credentials/create.php | 30 ++++++ api/v1/credentials/credential_model.php | 119 ++++++++++++++++++++++++ api/v1/credentials/read.php | 14 ++- api/v1/credentials/update.php | 38 ++++++++ functions.php | 15 ++- 5 files changed, 211 insertions(+), 5 deletions(-) create mode 100644 api/v1/credentials/create.php create mode 100644 api/v1/credentials/update.php diff --git a/api/v1/credentials/create.php b/api/v1/credentials/create.php new file mode 100644 index 000000000..a7df25409 --- /dev/null +++ b/api/v1/credentials/create.php @@ -0,0 +1,30 @@ +