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;









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.]










share|improve this question






















  • 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

















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.]










share|improve this question






















  • 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













0













0









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.]










share|improve this question
















[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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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










2 Answers
2






active

oldest

votes


















0



















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.






share|improve this answer


































    0



















    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).






    share|improve this answer


























      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
      );



      );














      draft saved

      draft discarded
















      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









      0



















      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.






      share|improve this answer































        0



















        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.






        share|improve this answer





























          0















          0











          0









          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.






          share|improve this answer
















          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.







          share|improve this answer















          share|improve this answer




          share|improve this answer








          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


























              0



















              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).






              share|improve this answer





























                0



















                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).






                share|improve this answer



























                  0















                  0











                  0









                  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).






                  share|improve this answer














                  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).







                  share|improve this answer













                  share|improve this answer




                  share|improve this answer










                  answered Jan 2 '18 at 12:31









                  Ross Ure AndersonRoss Ure Anderson

                  12 bronze badges




                  12 bronze badges































                      draft saved

                      draft discarded















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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









                      Popular posts from this blog

                      Tamil (spriik) Luke uk diar | Nawigatjuun

                      Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                      Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?