[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "gpg key file decryption failed"



"Christian (aka Neodaxus)" wrote:
> How can I change my passphrase?

gpg --decrypt </boot/rootkey.gpg | ( sleep 120; gpg -a --symmetric > /boot/new.gpg )
mv /boot/new.gpg /boot/rootkey.gpg

> Is there a way to create a second valid passphrase (to avoid to lock me
> out if the new passphrase won't work)?

Use public key crypto and specify multiple receivers. Like in loop-AES'
README example 3. But don't forget to copy keyrings to /boot

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/