From 7c334cb1851ab034a3cfb472dd99dfc61ad3ca7f Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Mon, 1 Apr 2024 12:43:19 -0300 Subject: [PATCH] feat(isolation): make encrypt key unextractable (#9327) --- .changes/isolation-pattern-key-extractable.md | 5 +++++ core/tauri-utils/src/pattern/isolation.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/isolation-pattern-key-extractable.md diff --git a/.changes/isolation-pattern-key-extractable.md b/.changes/isolation-pattern-key-extractable.md new file mode 100644 index 000000000..ef79d5adc --- /dev/null +++ b/.changes/isolation-pattern-key-extractable.md @@ -0,0 +1,5 @@ +--- +"tauri-utils": patch:enhance +--- + +Make the isolation pattern encrypt key unextractable. diff --git a/core/tauri-utils/src/pattern/isolation.js b/core/tauri-utils/src/pattern/isolation.js index afd7f5a0e..b87f479fb 100644 --- a/core/tauri-utils/src/pattern/isolation.js +++ b/core/tauri-utils/src/pattern/isolation.js @@ -29,7 +29,7 @@ 'raw', aesGcmKeyRaw, 'AES-GCM', - true, + false, ['encrypt'] )