Say that I own Laptop A. Say that, on Laptop A, I encrypt a file using the command:
gpg --symmetric my_file.txt
And say that I then install that encrypted file on a USB stick.
Now suppose that six months pass, during which time Laptop A breaks, and is replaced by Laptop B. Will I be able to decrypt the file on Laptop B, using the passphrase, perhaps using gpg --decrypt
?
Would the situation change if I used a command such as gpg --encrypt
or gpg --encrypt --symmetric
instead?