aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/record-migrations
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2023-06-26 07:52:37 +0100
committerGitHub <noreply@github.com>2023-06-26 07:52:37 +0100
commit6c53242b64fcd167d1a7016d6332e7a29e20d4cd (patch)
treeec03d2ae8eb7438874a55d955d64eb5d76f0f4e0 /atuin-client/record-migrations
parentMore redirects (diff)
downloadatuin-6c53242b64fcd167d1a7016d6332e7a29e20d4cd.zip
record encryption (#1058)
* record encryption * move paserk impl * implicit assertions * move wrapped cek * add another test * use host * undo stray change * more tests and docs * fmt * Update atuin-client/src/record/encryption.rs Co-authored-by: Matteo Martellini <matteo@mercxry.me> * Update atuin-client/src/record/encryption.rs Co-authored-by: Matteo Martellini <matteo@mercxry.me> * typo --------- Co-authored-by: Matteo Martellini <matteo@mercxry.me>
Diffstat (limited to 'atuin-client/record-migrations')
-rw-r--r--atuin-client/record-migrations/20230619235421_add_content_encrytion_key.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/atuin-client/record-migrations/20230619235421_add_content_encrytion_key.sql b/atuin-client/record-migrations/20230619235421_add_content_encrytion_key.sql
new file mode 100644
index 00000000..86bf6844
--- /dev/null
+++ b/atuin-client/record-migrations/20230619235421_add_content_encrytion_key.sql
@@ -0,0 +1,3 @@
+-- store content encryption keys in the record
+alter table records
+ add column cek text;