diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-18 13:01:49 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-18 13:01:49 +0200 |
commit | 4480e889a967e571e89eb312b7ead883b827ed28 (patch) | |
tree | 7da95d791b6c56e514edef7cccc75f6c88929d7c /setup | |
parent | 391ed3d1afa0334390df24af3f1ab13cf7066a84 (diff) | |
download | kirinos-4480e889a967e571e89eb312b7ead883b827ed28.tar.gz kirinos-4480e889a967e571e89eb312b7ead883b827ed28.tar.bz2 kirinos-4480e889a967e571e89eb312b7ead883b827ed28.zip |
Updated 3 files and added 11 files (automated)
Diffstat (limited to 'setup')
-rw-r--r-- | setup/cryptsetup.js | 1 | ||||
-rw-r--r-- | setup/unwraptest.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/setup/cryptsetup.js b/setup/cryptsetup.js new file mode 100644 index 0000000..7c15e59 --- /dev/null +++ b/setup/cryptsetup.js @@ -0,0 +1 @@ +console.log(require('child_process').execSync("( stty -echo; printf \"Passphrase: \" 1>&2; PASSWORD=\"password\"; stty echo; echo \"$PASSWORD\"; ) | ecryptfs-insert-wrapped-passphrase-into-keyring /mango/users/0/crypt/wrapped-passphrase -").toString().trim().split("[")[1].split("]")[0]);
\ No newline at end of file diff --git a/setup/unwraptest.js b/setup/unwraptest.js new file mode 100644 index 0000000..c60f886 --- /dev/null +++ b/setup/unwraptest.js @@ -0,0 +1 @@ +console.log(require('child_process').execSync('echo "password" | ecryptfs-unwrap-passphrase /mango/users/0/crypt/wrapped-passphrase').toString().trim().split("\n")[1]);
\ No newline at end of file |