Are There Any Conflicts Between Old And New GPG Versions?Are there any known vulnerabilities to Ubuntu's full disk encryption feature?Difference between PGP and GPGAre there adverse effects from (or a better way than) writing to /run or /dev/shm to protect temporarily unencrypted data?Are there any advantages/disadvantages (if any?) in running luksFormat on raw drive (sdx) vs a partition (sdx1)?Why are there no gpg signed hashes for the mini.iso“sudo ecryptfs-recover-private” gives “find: ‘/run/user/1000/gvfs’: Permission denied” - Files Lost?How secure is an encrypted partition?GPG - old password works instead of new one
A story in which God (the Christian god) is replaced
Is it true that almost everyone who starts a PhD and sticks around long enough can get one?
Binding variously sized pages into a book
Why give an android emotions?
A good reference to the Gauss result on the structure of the multiplicative group of a residue ring
Will transcribing music improve my ability to play a song by ear?
Stack Exchange Answerer
How long must a US passport be valid when visiting Brazil?
P-Channel MOSFET Inrush Current Limiting - Transistor burn issue
Can you counterspell a spell if you don't know who's casting it?
What is the difference between "more" and "less" commands?
In a decadent galactic empire with instantaneous communication, how would the most remote planet gain their independence?
Converting selected polygons to lines in QGIS modeler
How do you say "to play Devil's advocate" in German?
Color coding Alerts
Align multiple independent equations
What about orion ISS missions?
Why does General Grievous say “Ah yes, the negotiator?”
How do you help a new player evaluate complex multiclassing options without driving them and yourself crazy?
Is "You are influencing your negative behavior over me" grammatically well-formed and natural-sounding to native speakers?
Where is the error in my LaTeX codes?
Captain Pun's new boat
Why is Euler's Formula for Planar Graph Not Working Here?
My code seems to be a train wreck
Are There Any Conflicts Between Old And New GPG Versions?
Are there any known vulnerabilities to Ubuntu's full disk encryption feature?Difference between PGP and GPGAre there adverse effects from (or a better way than) writing to /run or /dev/shm to protect temporarily unencrypted data?Are there any advantages/disadvantages (if any?) in running luksFormat on raw drive (sdx) vs a partition (sdx1)?Why are there no gpg signed hashes for the mini.iso“sudo ecryptfs-recover-private” gives “find: ‘/run/user/1000/gvfs’: Permission denied” - Files Lost?How secure is an encrypted partition?GPG - old password works instead of new one
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
[Edited to ask more specific question]
I require to encrypt some files with a strong symmetric encryption algorithm - AES256 seems like a good choice - and use GPG for this. I am only using GPG for this symmetric encryption, and I do not presently need it for any other cryptography tasks.
The version of GPG I have is the one that came with this version of Ubuntu - v1.4.16. But I wonder if there could be any future problems/issues with using GPG v2.x to decrypt an AES256 encrypted file that was created by an older GPG v1.4?
If I did upgrade to a newer GPG version - what would be the best way to do the upgrade, for this version of Ubuntu? Would the old gpg version be kept? And could there be any conflicts between the versions to be aware of?
Many thanks
[Re Closure of my question :-
Perhaps it could be moved to another StackExchange forum such as SuperUser or Unix/Linux. On reflection Ask Ubuntu was maybe not the best forum to post it to, as its not specific to Ubuntu, that just happens to be the system I am on. I have changed the title.]
encryption gnupg
add a comment
|
[Edited to ask more specific question]
I require to encrypt some files with a strong symmetric encryption algorithm - AES256 seems like a good choice - and use GPG for this. I am only using GPG for this symmetric encryption, and I do not presently need it for any other cryptography tasks.
The version of GPG I have is the one that came with this version of Ubuntu - v1.4.16. But I wonder if there could be any future problems/issues with using GPG v2.x to decrypt an AES256 encrypted file that was created by an older GPG v1.4?
If I did upgrade to a newer GPG version - what would be the best way to do the upgrade, for this version of Ubuntu? Would the old gpg version be kept? And could there be any conflicts between the versions to be aware of?
Many thanks
[Re Closure of my question :-
Perhaps it could be moved to another StackExchange forum such as SuperUser or Unix/Linux. On reflection Ask Ubuntu was maybe not the best forum to post it to, as its not specific to Ubuntu, that just happens to be the system I am on. I have changed the title.]
encryption gnupg
2
You're asking three or four completely unrelated questions at the same time, which hardly fits the Stack Exchange Q&A model. Please consider asking separate questions instead.
– Jens Erat
Dec 19 '17 at 19:26
In short: There should be no conflicts. GPG2 is fully backwards compatible with legacy GPG in relation to data exchange and configuration. The latter doesn't support everything the former can produce and it will ignore unsupported configuration file entries. You can install both on the same system without issues.
– David Foerster
Dec 22 '17 at 16:23
Please see this answer on SuperUser - I think this question is probably better there, although it is indeed applicable to Ubuntu.
– Charles Green
Dec 22 '17 at 17:01
add a comment
|
[Edited to ask more specific question]
I require to encrypt some files with a strong symmetric encryption algorithm - AES256 seems like a good choice - and use GPG for this. I am only using GPG for this symmetric encryption, and I do not presently need it for any other cryptography tasks.
The version of GPG I have is the one that came with this version of Ubuntu - v1.4.16. But I wonder if there could be any future problems/issues with using GPG v2.x to decrypt an AES256 encrypted file that was created by an older GPG v1.4?
If I did upgrade to a newer GPG version - what would be the best way to do the upgrade, for this version of Ubuntu? Would the old gpg version be kept? And could there be any conflicts between the versions to be aware of?
Many thanks
[Re Closure of my question :-
Perhaps it could be moved to another StackExchange forum such as SuperUser or Unix/Linux. On reflection Ask Ubuntu was maybe not the best forum to post it to, as its not specific to Ubuntu, that just happens to be the system I am on. I have changed the title.]
encryption gnupg
[Edited to ask more specific question]
I require to encrypt some files with a strong symmetric encryption algorithm - AES256 seems like a good choice - and use GPG for this. I am only using GPG for this symmetric encryption, and I do not presently need it for any other cryptography tasks.
The version of GPG I have is the one that came with this version of Ubuntu - v1.4.16. But I wonder if there could be any future problems/issues with using GPG v2.x to decrypt an AES256 encrypted file that was created by an older GPG v1.4?
If I did upgrade to a newer GPG version - what would be the best way to do the upgrade, for this version of Ubuntu? Would the old gpg version be kept? And could there be any conflicts between the versions to be aware of?
Many thanks
[Re Closure of my question :-
Perhaps it could be moved to another StackExchange forum such as SuperUser or Unix/Linux. On reflection Ask Ubuntu was maybe not the best forum to post it to, as its not specific to Ubuntu, that just happens to be the system I am on. I have changed the title.]
encryption gnupg
encryption gnupg
edited Sep 20 at 16:52
Ross Ure Anderson
asked Dec 19 '17 at 16:50
Ross Ure AndersonRoss Ure Anderson
12 bronze badges
12 bronze badges
2
You're asking three or four completely unrelated questions at the same time, which hardly fits the Stack Exchange Q&A model. Please consider asking separate questions instead.
– Jens Erat
Dec 19 '17 at 19:26
In short: There should be no conflicts. GPG2 is fully backwards compatible with legacy GPG in relation to data exchange and configuration. The latter doesn't support everything the former can produce and it will ignore unsupported configuration file entries. You can install both on the same system without issues.
– David Foerster
Dec 22 '17 at 16:23
Please see this answer on SuperUser - I think this question is probably better there, although it is indeed applicable to Ubuntu.
– Charles Green
Dec 22 '17 at 17:01
add a comment
|
2
You're asking three or four completely unrelated questions at the same time, which hardly fits the Stack Exchange Q&A model. Please consider asking separate questions instead.
– Jens Erat
Dec 19 '17 at 19:26
In short: There should be no conflicts. GPG2 is fully backwards compatible with legacy GPG in relation to data exchange and configuration. The latter doesn't support everything the former can produce and it will ignore unsupported configuration file entries. You can install both on the same system without issues.
– David Foerster
Dec 22 '17 at 16:23
Please see this answer on SuperUser - I think this question is probably better there, although it is indeed applicable to Ubuntu.
– Charles Green
Dec 22 '17 at 17:01
2
2
You're asking three or four completely unrelated questions at the same time, which hardly fits the Stack Exchange Q&A model. Please consider asking separate questions instead.
– Jens Erat
Dec 19 '17 at 19:26
You're asking three or four completely unrelated questions at the same time, which hardly fits the Stack Exchange Q&A model. Please consider asking separate questions instead.
– Jens Erat
Dec 19 '17 at 19:26
In short: There should be no conflicts. GPG2 is fully backwards compatible with legacy GPG in relation to data exchange and configuration. The latter doesn't support everything the former can produce and it will ignore unsupported configuration file entries. You can install both on the same system without issues.
– David Foerster
Dec 22 '17 at 16:23
In short: There should be no conflicts. GPG2 is fully backwards compatible with legacy GPG in relation to data exchange and configuration. The latter doesn't support everything the former can produce and it will ignore unsupported configuration file entries. You can install both on the same system without issues.
– David Foerster
Dec 22 '17 at 16:23
Please see this answer on SuperUser - I think this question is probably better there, although it is indeed applicable to Ubuntu.
– Charles Green
Dec 22 '17 at 17:01
Please see this answer on SuperUser - I think this question is probably better there, although it is indeed applicable to Ubuntu.
– Charles Green
Dec 22 '17 at 17:01
add a comment
|
2 Answers
2
active
oldest
votes
The best way to upgrade gnupg is to upgrade or fresh install the next Long Term Support version of Ubuntu, which is Ubuntu 16.04. Ubuntu 16.04 comes with gnupg2 (new v2.x) installed by default instead of gnupg which is installed by default in Ubuntu 14.04. GnuPG 2.x is the new modularized version of GnuPG supporting OpenPGP and S/MIME.
If you upgrade to Ubuntu 18.04 when it is released, you will have almost the same gnupg2 version, 2.1.15 instead of 2.1.11.
add a comment
|
Having tested with v14.04.5 LTS and v16.04.3 LTS of Ubuntu, the newer version of GPG (v2.1.11) can successfully decrypt an encrypted file created with the older GPG version (v1.4.16), but for the newer version you use the command gpg2 (the older 1.4 version of GPG is still available on Ubuntu 16.04.5 from the command 'gpg'). Also for the newer version you need to include the option --batch
if you want to use the --passphrase
option, otherwise it won't work (see man gpg2 page).
Thus if on the older version you AES256 encrypt with :-
sudo gpg --output a1.txt.gpg --passphrase abc123 --cipher-algo AES256 --symmetric a1.txt
then you decrypt on newer version with :-
sudo gpg2 --output a1.txt --batch --passphrase abc123 --decrypt a1.txt.gpg
(The --passphrase
option is useful to avoid having to manually type in a very long password).
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2faskubuntu.com%2fquestions%2f987788%2fare-there-any-conflicts-between-old-and-new-gpg-versions%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The best way to upgrade gnupg is to upgrade or fresh install the next Long Term Support version of Ubuntu, which is Ubuntu 16.04. Ubuntu 16.04 comes with gnupg2 (new v2.x) installed by default instead of gnupg which is installed by default in Ubuntu 14.04. GnuPG 2.x is the new modularized version of GnuPG supporting OpenPGP and S/MIME.
If you upgrade to Ubuntu 18.04 when it is released, you will have almost the same gnupg2 version, 2.1.15 instead of 2.1.11.
add a comment
|
The best way to upgrade gnupg is to upgrade or fresh install the next Long Term Support version of Ubuntu, which is Ubuntu 16.04. Ubuntu 16.04 comes with gnupg2 (new v2.x) installed by default instead of gnupg which is installed by default in Ubuntu 14.04. GnuPG 2.x is the new modularized version of GnuPG supporting OpenPGP and S/MIME.
If you upgrade to Ubuntu 18.04 when it is released, you will have almost the same gnupg2 version, 2.1.15 instead of 2.1.11.
add a comment
|
The best way to upgrade gnupg is to upgrade or fresh install the next Long Term Support version of Ubuntu, which is Ubuntu 16.04. Ubuntu 16.04 comes with gnupg2 (new v2.x) installed by default instead of gnupg which is installed by default in Ubuntu 14.04. GnuPG 2.x is the new modularized version of GnuPG supporting OpenPGP and S/MIME.
If you upgrade to Ubuntu 18.04 when it is released, you will have almost the same gnupg2 version, 2.1.15 instead of 2.1.11.
The best way to upgrade gnupg is to upgrade or fresh install the next Long Term Support version of Ubuntu, which is Ubuntu 16.04. Ubuntu 16.04 comes with gnupg2 (new v2.x) installed by default instead of gnupg which is installed by default in Ubuntu 14.04. GnuPG 2.x is the new modularized version of GnuPG supporting OpenPGP and S/MIME.
If you upgrade to Ubuntu 18.04 when it is released, you will have almost the same gnupg2 version, 2.1.15 instead of 2.1.11.
edited Dec 21 '17 at 9:54
answered Dec 21 '17 at 9:48
karelkarel
71.2k15 gold badges160 silver badges186 bronze badges
71.2k15 gold badges160 silver badges186 bronze badges
add a comment
|
add a comment
|
Having tested with v14.04.5 LTS and v16.04.3 LTS of Ubuntu, the newer version of GPG (v2.1.11) can successfully decrypt an encrypted file created with the older GPG version (v1.4.16), but for the newer version you use the command gpg2 (the older 1.4 version of GPG is still available on Ubuntu 16.04.5 from the command 'gpg'). Also for the newer version you need to include the option --batch
if you want to use the --passphrase
option, otherwise it won't work (see man gpg2 page).
Thus if on the older version you AES256 encrypt with :-
sudo gpg --output a1.txt.gpg --passphrase abc123 --cipher-algo AES256 --symmetric a1.txt
then you decrypt on newer version with :-
sudo gpg2 --output a1.txt --batch --passphrase abc123 --decrypt a1.txt.gpg
(The --passphrase
option is useful to avoid having to manually type in a very long password).
add a comment
|
Having tested with v14.04.5 LTS and v16.04.3 LTS of Ubuntu, the newer version of GPG (v2.1.11) can successfully decrypt an encrypted file created with the older GPG version (v1.4.16), but for the newer version you use the command gpg2 (the older 1.4 version of GPG is still available on Ubuntu 16.04.5 from the command 'gpg'). Also for the newer version you need to include the option --batch
if you want to use the --passphrase
option, otherwise it won't work (see man gpg2 page).
Thus if on the older version you AES256 encrypt with :-
sudo gpg --output a1.txt.gpg --passphrase abc123 --cipher-algo AES256 --symmetric a1.txt
then you decrypt on newer version with :-
sudo gpg2 --output a1.txt --batch --passphrase abc123 --decrypt a1.txt.gpg
(The --passphrase
option is useful to avoid having to manually type in a very long password).
add a comment
|
Having tested with v14.04.5 LTS and v16.04.3 LTS of Ubuntu, the newer version of GPG (v2.1.11) can successfully decrypt an encrypted file created with the older GPG version (v1.4.16), but for the newer version you use the command gpg2 (the older 1.4 version of GPG is still available on Ubuntu 16.04.5 from the command 'gpg'). Also for the newer version you need to include the option --batch
if you want to use the --passphrase
option, otherwise it won't work (see man gpg2 page).
Thus if on the older version you AES256 encrypt with :-
sudo gpg --output a1.txt.gpg --passphrase abc123 --cipher-algo AES256 --symmetric a1.txt
then you decrypt on newer version with :-
sudo gpg2 --output a1.txt --batch --passphrase abc123 --decrypt a1.txt.gpg
(The --passphrase
option is useful to avoid having to manually type in a very long password).
Having tested with v14.04.5 LTS and v16.04.3 LTS of Ubuntu, the newer version of GPG (v2.1.11) can successfully decrypt an encrypted file created with the older GPG version (v1.4.16), but for the newer version you use the command gpg2 (the older 1.4 version of GPG is still available on Ubuntu 16.04.5 from the command 'gpg'). Also for the newer version you need to include the option --batch
if you want to use the --passphrase
option, otherwise it won't work (see man gpg2 page).
Thus if on the older version you AES256 encrypt with :-
sudo gpg --output a1.txt.gpg --passphrase abc123 --cipher-algo AES256 --symmetric a1.txt
then you decrypt on newer version with :-
sudo gpg2 --output a1.txt --batch --passphrase abc123 --decrypt a1.txt.gpg
(The --passphrase
option is useful to avoid having to manually type in a very long password).
answered Jan 2 '18 at 12:31
Ross Ure AndersonRoss Ure Anderson
12 bronze badges
12 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2faskubuntu.com%2fquestions%2f987788%2fare-there-any-conflicts-between-old-and-new-gpg-versions%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
2
You're asking three or four completely unrelated questions at the same time, which hardly fits the Stack Exchange Q&A model. Please consider asking separate questions instead.
– Jens Erat
Dec 19 '17 at 19:26
In short: There should be no conflicts. GPG2 is fully backwards compatible with legacy GPG in relation to data exchange and configuration. The latter doesn't support everything the former can produce and it will ignore unsupported configuration file entries. You can install both on the same system without issues.
– David Foerster
Dec 22 '17 at 16:23
Please see this answer on SuperUser - I think this question is probably better there, although it is indeed applicable to Ubuntu.
– Charles Green
Dec 22 '17 at 17:01