Closed Hadron2 closed 11 years ago
Feature Request or Bug Fix.
We should have a way to pass a passphrase from STDIN, a pipe/redirect, or environment.
I tried to use "keysource=raw,prompt" as suggested by lundman on #zfsonlinux.
root@ubuntu> echo "PASSPHRASE" | zfs create -o encryption=on -o keysource=raw,prompt tank/CRYPT cannot create 'tank/CRYPT': invalid all zeros key 0 root@ubuntu>
Please make 'raw,prompt' work, or add 'passphrase,stdin' as a feature.
Thanks! :)
This appears to work, but little testing done.
https://github.com/lundman/zfs-crypto/commit/62d0d4513cee45d6c3b9a3c93d3930d15efb9cd8
спасибо
https://github.com/zfsrogue/zfs-crypto/commit/f973b3fd235e7543790dd1300d804bb80b8d91a4
Feature Request or Bug Fix.
We should have a way to pass a passphrase from STDIN, a pipe/redirect, or environment.
I tried to use "keysource=raw,prompt" as suggested by lundman on #zfsonlinux.
Please make 'raw,prompt' work, or add 'passphrase,stdin' as a feature.
Thanks! :)