summaryrefslogtreecommitdiff
path: root/src/secret.h
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 15:41:55 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 15:42:40 +0200
commitf3b3f2c4f944c98a341f406abd2e4a6b7b69da36 (patch)
treef7b2e25937c4c10466e2cce7c2c7a9a6eeb6d7c8 /src/secret.h
parent21057cd2f2ab298300a246b9fba0d38d740c9697 (diff)
downloadbokf-f3b3f2c4f944c98a341f406abd2e4a6b7b69da36.tar.gz
bokf-f3b3f2c4f944c98a341f406abd2e4a6b7b69da36.zip
settings: encrypted secrets and SMTP settings
Diffstat (limited to 'src/secret.h')
-rw-r--r--src/secret.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/secret.h b/src/secret.h
new file mode 100644
index 0000000..3dd03a4
--- /dev/null
+++ b/src/secret.h
@@ -0,0 +1,9 @@
+#ifndef BOKF_SECRET_H
+#define BOKF_SECRET_H
+
+int secret_available(void);
+int secret_encrypt(const char *plain, char **out);
+int secret_decrypt(const char *stored, char **out);
+int secret_key_is_secret(const char *key);
+
+#endif