-
Notifications
You must be signed in to change notification settings - Fork 300
gocryptfs -passfile password.txt -passwd -d CIPHER
OpenSSL disabled, using Go GCM
passfile: reading from file "password.txt"
Decrypting master key
CryptoCore.Wipe: Only nil'ing stdlib refs
Please enter your new password.
passfile: reading from file "password.txt"
CryptoCore.Wipe: Only nil'ing stdlib refs
Password changed.
I generated a binary file with the name passwod.txt, using /dev/urandom, so I can't pass the password from STDIN. Can I change the password in this scenario?
All reactions
Answered by
rfjakob
Dec 4, 2024
Alternatively, download the latest source code and compile, I now have -passwd ignore -passfile ( d5bd98e )
Replies: 1 comment 1 reply
Interesting situation :)
How about this (make a copy of your gocryptfs.conf beforehand!):
echo "" > newline
echo "the new password 123324234!" > newpassword
cat password.txt newline newpassword | gocryptfs -passwd
All reactions
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment