GPG suite decrypted file is 0 byte
up vote
2
down vote
favorite
I have a file encrypted with GPG suite 2 years ago...
I need it now and tried to decrypt it but the resulting zip file is 0 bytes :((
What does that mean ?
I also tried the CLI and Im getting
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
EDIT
If I put --batch the file is decrypted but I cannot find it anywhere
gpg --passphrase "mypassword" -d --batch --ignore-mdc-error myFilePath
gpg: WARNING: message was not integrity protected
gnupg
add a comment |
up vote
2
down vote
favorite
I have a file encrypted with GPG suite 2 years ago...
I need it now and tried to decrypt it but the resulting zip file is 0 bytes :((
What does that mean ?
I also tried the CLI and Im getting
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
EDIT
If I put --batch the file is decrypted but I cannot find it anywhere
gpg --passphrase "mypassword" -d --batch --ignore-mdc-error myFilePath
gpg: WARNING: message was not integrity protected
gnupg
Questions: (1) What is your operating system? (2) Is gpg the latest version? (3) Or is gpg the same version as encrypted the file? There have been reports about gpg version 2 having problems decrypting gpg version 1.4.
– harrymc
Nov 17 at 20:01
OSX 10.14.1, latest GPG using homebrew, not sure what was my version of the encrypted file; I was using GPG tools at the time 2 years ago
– jotyhista
Nov 17 at 20:40
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have a file encrypted with GPG suite 2 years ago...
I need it now and tried to decrypt it but the resulting zip file is 0 bytes :((
What does that mean ?
I also tried the CLI and Im getting
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
EDIT
If I put --batch the file is decrypted but I cannot find it anywhere
gpg --passphrase "mypassword" -d --batch --ignore-mdc-error myFilePath
gpg: WARNING: message was not integrity protected
gnupg
I have a file encrypted with GPG suite 2 years ago...
I need it now and tried to decrypt it but the resulting zip file is 0 bytes :((
What does that mean ?
I also tried the CLI and Im getting
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
EDIT
If I put --batch the file is decrypted but I cannot find it anywhere
gpg --passphrase "mypassword" -d --batch --ignore-mdc-error myFilePath
gpg: WARNING: message was not integrity protected
gnupg
gnupg
edited Nov 17 at 22:02
asked Nov 17 at 17:16
jotyhista
153
153
Questions: (1) What is your operating system? (2) Is gpg the latest version? (3) Or is gpg the same version as encrypted the file? There have been reports about gpg version 2 having problems decrypting gpg version 1.4.
– harrymc
Nov 17 at 20:01
OSX 10.14.1, latest GPG using homebrew, not sure what was my version of the encrypted file; I was using GPG tools at the time 2 years ago
– jotyhista
Nov 17 at 20:40
add a comment |
Questions: (1) What is your operating system? (2) Is gpg the latest version? (3) Or is gpg the same version as encrypted the file? There have been reports about gpg version 2 having problems decrypting gpg version 1.4.
– harrymc
Nov 17 at 20:01
OSX 10.14.1, latest GPG using homebrew, not sure what was my version of the encrypted file; I was using GPG tools at the time 2 years ago
– jotyhista
Nov 17 at 20:40
Questions: (1) What is your operating system? (2) Is gpg the latest version? (3) Or is gpg the same version as encrypted the file? There have been reports about gpg version 2 having problems decrypting gpg version 1.4.
– harrymc
Nov 17 at 20:01
Questions: (1) What is your operating system? (2) Is gpg the latest version? (3) Or is gpg the same version as encrypted the file? There have been reports about gpg version 2 having problems decrypting gpg version 1.4.
– harrymc
Nov 17 at 20:01
OSX 10.14.1, latest GPG using homebrew, not sure what was my version of the encrypted file; I was using GPG tools at the time 2 years ago
– jotyhista
Nov 17 at 20:40
OSX 10.14.1, latest GPG using homebrew, not sure what was my version of the encrypted file; I was using GPG tools at the time 2 years ago
– jotyhista
Nov 17 at 20:40
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Try to replace your current homebrew version by GPG 1.4.
One alarming text from the above link:
GnuPG 1.4 is the old, single binary version which still support the unsafe PGP-2 keys.
As the last version 1.4 dates from only 5 months ago, this might explain why
your current version doesn't support your keys format, if they are in the
PGP-2 format.
(General note: When files are encrypted, one should always take in account
the possibility that software changes might make decryption impossible
after some years. Encryption is not a long-term solution.)
Thank you for the suggestion I'll try I went to the link but this is not a binary... I am not familiar how to compile.. :s is it possible to install with brew ?
– jotyhista
Nov 17 at 21:03
actually I managed to install it and tried to decrypt but no success with the same command as above. gpg (GnuPG) 1.4.23
– jotyhista
Nov 17 at 21:11
actually it worked but different command usinggpg --decrypt file > file.zip
– jotyhista
Nov 17 at 21:20
could I please ask a last advice, now I managed to decrypt; I would like to uninstall the 1,4; how can I do that with files I had to compile myself, brew is saying that v2.21 is already installed so I have a conflict I guess, if I dogpg --version
I get 1.4
– jotyhista
Nov 17 at 21:35
actually I got itbrew link --overwrite gnupg
– jotyhista
Nov 17 at 21:41
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Try to replace your current homebrew version by GPG 1.4.
One alarming text from the above link:
GnuPG 1.4 is the old, single binary version which still support the unsafe PGP-2 keys.
As the last version 1.4 dates from only 5 months ago, this might explain why
your current version doesn't support your keys format, if they are in the
PGP-2 format.
(General note: When files are encrypted, one should always take in account
the possibility that software changes might make decryption impossible
after some years. Encryption is not a long-term solution.)
Thank you for the suggestion I'll try I went to the link but this is not a binary... I am not familiar how to compile.. :s is it possible to install with brew ?
– jotyhista
Nov 17 at 21:03
actually I managed to install it and tried to decrypt but no success with the same command as above. gpg (GnuPG) 1.4.23
– jotyhista
Nov 17 at 21:11
actually it worked but different command usinggpg --decrypt file > file.zip
– jotyhista
Nov 17 at 21:20
could I please ask a last advice, now I managed to decrypt; I would like to uninstall the 1,4; how can I do that with files I had to compile myself, brew is saying that v2.21 is already installed so I have a conflict I guess, if I dogpg --version
I get 1.4
– jotyhista
Nov 17 at 21:35
actually I got itbrew link --overwrite gnupg
– jotyhista
Nov 17 at 21:41
add a comment |
up vote
1
down vote
accepted
Try to replace your current homebrew version by GPG 1.4.
One alarming text from the above link:
GnuPG 1.4 is the old, single binary version which still support the unsafe PGP-2 keys.
As the last version 1.4 dates from only 5 months ago, this might explain why
your current version doesn't support your keys format, if they are in the
PGP-2 format.
(General note: When files are encrypted, one should always take in account
the possibility that software changes might make decryption impossible
after some years. Encryption is not a long-term solution.)
Thank you for the suggestion I'll try I went to the link but this is not a binary... I am not familiar how to compile.. :s is it possible to install with brew ?
– jotyhista
Nov 17 at 21:03
actually I managed to install it and tried to decrypt but no success with the same command as above. gpg (GnuPG) 1.4.23
– jotyhista
Nov 17 at 21:11
actually it worked but different command usinggpg --decrypt file > file.zip
– jotyhista
Nov 17 at 21:20
could I please ask a last advice, now I managed to decrypt; I would like to uninstall the 1,4; how can I do that with files I had to compile myself, brew is saying that v2.21 is already installed so I have a conflict I guess, if I dogpg --version
I get 1.4
– jotyhista
Nov 17 at 21:35
actually I got itbrew link --overwrite gnupg
– jotyhista
Nov 17 at 21:41
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Try to replace your current homebrew version by GPG 1.4.
One alarming text from the above link:
GnuPG 1.4 is the old, single binary version which still support the unsafe PGP-2 keys.
As the last version 1.4 dates from only 5 months ago, this might explain why
your current version doesn't support your keys format, if they are in the
PGP-2 format.
(General note: When files are encrypted, one should always take in account
the possibility that software changes might make decryption impossible
after some years. Encryption is not a long-term solution.)
Try to replace your current homebrew version by GPG 1.4.
One alarming text from the above link:
GnuPG 1.4 is the old, single binary version which still support the unsafe PGP-2 keys.
As the last version 1.4 dates from only 5 months ago, this might explain why
your current version doesn't support your keys format, if they are in the
PGP-2 format.
(General note: When files are encrypted, one should always take in account
the possibility that software changes might make decryption impossible
after some years. Encryption is not a long-term solution.)
answered Nov 17 at 20:51
harrymc
248k10257548
248k10257548
Thank you for the suggestion I'll try I went to the link but this is not a binary... I am not familiar how to compile.. :s is it possible to install with brew ?
– jotyhista
Nov 17 at 21:03
actually I managed to install it and tried to decrypt but no success with the same command as above. gpg (GnuPG) 1.4.23
– jotyhista
Nov 17 at 21:11
actually it worked but different command usinggpg --decrypt file > file.zip
– jotyhista
Nov 17 at 21:20
could I please ask a last advice, now I managed to decrypt; I would like to uninstall the 1,4; how can I do that with files I had to compile myself, brew is saying that v2.21 is already installed so I have a conflict I guess, if I dogpg --version
I get 1.4
– jotyhista
Nov 17 at 21:35
actually I got itbrew link --overwrite gnupg
– jotyhista
Nov 17 at 21:41
add a comment |
Thank you for the suggestion I'll try I went to the link but this is not a binary... I am not familiar how to compile.. :s is it possible to install with brew ?
– jotyhista
Nov 17 at 21:03
actually I managed to install it and tried to decrypt but no success with the same command as above. gpg (GnuPG) 1.4.23
– jotyhista
Nov 17 at 21:11
actually it worked but different command usinggpg --decrypt file > file.zip
– jotyhista
Nov 17 at 21:20
could I please ask a last advice, now I managed to decrypt; I would like to uninstall the 1,4; how can I do that with files I had to compile myself, brew is saying that v2.21 is already installed so I have a conflict I guess, if I dogpg --version
I get 1.4
– jotyhista
Nov 17 at 21:35
actually I got itbrew link --overwrite gnupg
– jotyhista
Nov 17 at 21:41
Thank you for the suggestion I'll try I went to the link but this is not a binary... I am not familiar how to compile.. :s is it possible to install with brew ?
– jotyhista
Nov 17 at 21:03
Thank you for the suggestion I'll try I went to the link but this is not a binary... I am not familiar how to compile.. :s is it possible to install with brew ?
– jotyhista
Nov 17 at 21:03
actually I managed to install it and tried to decrypt but no success with the same command as above. gpg (GnuPG) 1.4.23
– jotyhista
Nov 17 at 21:11
actually I managed to install it and tried to decrypt but no success with the same command as above. gpg (GnuPG) 1.4.23
– jotyhista
Nov 17 at 21:11
actually it worked but different command using
gpg --decrypt file > file.zip
– jotyhista
Nov 17 at 21:20
actually it worked but different command using
gpg --decrypt file > file.zip
– jotyhista
Nov 17 at 21:20
could I please ask a last advice, now I managed to decrypt; I would like to uninstall the 1,4; how can I do that with files I had to compile myself, brew is saying that v2.21 is already installed so I have a conflict I guess, if I do
gpg --version
I get 1.4– jotyhista
Nov 17 at 21:35
could I please ask a last advice, now I managed to decrypt; I would like to uninstall the 1,4; how can I do that with files I had to compile myself, brew is saying that v2.21 is already installed so I have a conflict I guess, if I do
gpg --version
I get 1.4– jotyhista
Nov 17 at 21:35
actually I got it
brew link --overwrite gnupg
– jotyhista
Nov 17 at 21:41
actually I got it
brew link --overwrite gnupg
– jotyhista
Nov 17 at 21:41
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376273%2fgpg-suite-decrypted-file-is-0-byte%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Questions: (1) What is your operating system? (2) Is gpg the latest version? (3) Or is gpg the same version as encrypted the file? There have been reports about gpg version 2 having problems decrypting gpg version 1.4.
– harrymc
Nov 17 at 20:01
OSX 10.14.1, latest GPG using homebrew, not sure what was my version of the encrypted file; I was using GPG tools at the time 2 years ago
– jotyhista
Nov 17 at 20:40