How to create password encrypted backup with gpgDecrypt files encrypted with gpg using xargsHow to create an encrypted container (dynamically expandable) on OpenBSDbackup / on ntfs filesystem encryptedUsing GPG to decrypt Symantec PGP encrypted files?Recovering GPG keys from a backup directoryHow to Create an Encrypted PasswordNot possible to use batch mode?! FreeBSD gpg 1.4.19Backup on a remote server in an encrypted folderEncrypting directories with gpgEncrypt multimedia files with GPG
What is the command to reset a PC without deleting any files
Is there really no realistic way for a skeleton monster to move around without magic?
Should I join office cleaning event for free?
"You are your self first supporter", a more proper way to say it
Are there any consumables that function as addictive (psychedelic) drugs?
Why is the design of haulage companies so “special”?
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?
How old can references or sources in a thesis be?
What exactly is the parasitic white layer that forms after iron parts are treated with ammonia?
What would happen to a modern skyscraper if it rains micro blackholes?
Why CLRS example on residual networks does not follows its formula?
Why Is Death Allowed In the Matrix?
Copenhagen passport control - US citizen
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
New order #4: World
Email Account under attack (really) - anything I can do?
Set-theoretical foundations of Mathematics with only bounded quantifiers
What do you call a Matrix-like slowdown and camera movement effect?
What are these boxed doors outside store fronts in New York?
Download, install and reboot computer at night if needed
Why linear maps act like matrix multiplication?
Do Phineas and Ferb ever actually get busted in real time?
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
How to create password encrypted backup with gpg
Decrypt files encrypted with gpg using xargsHow to create an encrypted container (dynamically expandable) on OpenBSDbackup / on ntfs filesystem encryptedUsing GPG to decrypt Symantec PGP encrypted files?Recovering GPG keys from a backup directoryHow to Create an Encrypted PasswordNot possible to use batch mode?! FreeBSD gpg 1.4.19Backup on a remote server in an encrypted folderEncrypting directories with gpgEncrypt multimedia files with GPG
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Recently, I made a script that archives important files with gzip,
encrypts them with gpg, usinggpg --symmetric
(which prompts me for a password), then
uploads it.
I was testing the backup on another PC, but cannot decrypt it, even when I supplied the correct password (copy& pasted from password manager). There was an error about half a second after and it failed with an invalid packet error.
How can I encrypt that file, so anyone with the proper password can decrypt it? I don't want to share keyrings as I've read elsewhere unless absolutely necessary, as it's another thing I need to think of and distribute and sync between my machines, including future ones. I would like to decrypt it with just a password.
backup encryption gpg
New contributor
add a comment |
Recently, I made a script that archives important files with gzip,
encrypts them with gpg, usinggpg --symmetric
(which prompts me for a password), then
uploads it.
I was testing the backup on another PC, but cannot decrypt it, even when I supplied the correct password (copy& pasted from password manager). There was an error about half a second after and it failed with an invalid packet error.
How can I encrypt that file, so anyone with the proper password can decrypt it? I don't want to share keyrings as I've read elsewhere unless absolutely necessary, as it's another thing I need to think of and distribute and sync between my machines, including future ones. I would like to decrypt it with just a password.
backup encryption gpg
New contributor
2
The command is correct. Encrypt with:gpg --symmetric filename
, decrypt withgpg --decrypt filename.gpg
. What does your script look like? What command do you use to decrypt it?
– Deathkamp Drone
2 days ago
What was the exact error? It sounds like the password was correct, but something else went wrong? If you don't specify a good--cipher-algo
or use--force-mdc
you might default to not having any modification detection code. Are you sure the file was transferred unchanged? And +1 to DeathkampDrone's comments too
– Xen2050
yesterday
Okay, I was able to decrypt it and I can access the files, but I'm not sure if the backup is complete. While decrypting: "gpg: problem reading source (xxx bytes remaining) gpg: handle plaintext failed: No such file or directory gpg: decryption failed: Invalid packet". I'll verify if hash of the uploaded/downloaded file matches. I didn't specify any of these options, it defaulted to AES. Cc @Deathkamp Drone : I used the commands that you wrote.
– SoptikHa
yesterday
add a comment |
Recently, I made a script that archives important files with gzip,
encrypts them with gpg, usinggpg --symmetric
(which prompts me for a password), then
uploads it.
I was testing the backup on another PC, but cannot decrypt it, even when I supplied the correct password (copy& pasted from password manager). There was an error about half a second after and it failed with an invalid packet error.
How can I encrypt that file, so anyone with the proper password can decrypt it? I don't want to share keyrings as I've read elsewhere unless absolutely necessary, as it's another thing I need to think of and distribute and sync between my machines, including future ones. I would like to decrypt it with just a password.
backup encryption gpg
New contributor
Recently, I made a script that archives important files with gzip,
encrypts them with gpg, usinggpg --symmetric
(which prompts me for a password), then
uploads it.
I was testing the backup on another PC, but cannot decrypt it, even when I supplied the correct password (copy& pasted from password manager). There was an error about half a second after and it failed with an invalid packet error.
How can I encrypt that file, so anyone with the proper password can decrypt it? I don't want to share keyrings as I've read elsewhere unless absolutely necessary, as it's another thing I need to think of and distribute and sync between my machines, including future ones. I would like to decrypt it with just a password.
backup encryption gpg
backup encryption gpg
New contributor
New contributor
edited 2 days ago
Ouki
3,90421527
3,90421527
New contributor
asked Apr 4 at 22:18
SoptikHaSoptikHa
62
62
New contributor
New contributor
2
The command is correct. Encrypt with:gpg --symmetric filename
, decrypt withgpg --decrypt filename.gpg
. What does your script look like? What command do you use to decrypt it?
– Deathkamp Drone
2 days ago
What was the exact error? It sounds like the password was correct, but something else went wrong? If you don't specify a good--cipher-algo
or use--force-mdc
you might default to not having any modification detection code. Are you sure the file was transferred unchanged? And +1 to DeathkampDrone's comments too
– Xen2050
yesterday
Okay, I was able to decrypt it and I can access the files, but I'm not sure if the backup is complete. While decrypting: "gpg: problem reading source (xxx bytes remaining) gpg: handle plaintext failed: No such file or directory gpg: decryption failed: Invalid packet". I'll verify if hash of the uploaded/downloaded file matches. I didn't specify any of these options, it defaulted to AES. Cc @Deathkamp Drone : I used the commands that you wrote.
– SoptikHa
yesterday
add a comment |
2
The command is correct. Encrypt with:gpg --symmetric filename
, decrypt withgpg --decrypt filename.gpg
. What does your script look like? What command do you use to decrypt it?
– Deathkamp Drone
2 days ago
What was the exact error? It sounds like the password was correct, but something else went wrong? If you don't specify a good--cipher-algo
or use--force-mdc
you might default to not having any modification detection code. Are you sure the file was transferred unchanged? And +1 to DeathkampDrone's comments too
– Xen2050
yesterday
Okay, I was able to decrypt it and I can access the files, but I'm not sure if the backup is complete. While decrypting: "gpg: problem reading source (xxx bytes remaining) gpg: handle plaintext failed: No such file or directory gpg: decryption failed: Invalid packet". I'll verify if hash of the uploaded/downloaded file matches. I didn't specify any of these options, it defaulted to AES. Cc @Deathkamp Drone : I used the commands that you wrote.
– SoptikHa
yesterday
2
2
The command is correct. Encrypt with:
gpg --symmetric filename
, decrypt with gpg --decrypt filename.gpg
. What does your script look like? What command do you use to decrypt it?– Deathkamp Drone
2 days ago
The command is correct. Encrypt with:
gpg --symmetric filename
, decrypt with gpg --decrypt filename.gpg
. What does your script look like? What command do you use to decrypt it?– Deathkamp Drone
2 days ago
What was the exact error? It sounds like the password was correct, but something else went wrong? If you don't specify a good
--cipher-algo
or use --force-mdc
you might default to not having any modification detection code. Are you sure the file was transferred unchanged? And +1 to DeathkampDrone's comments too– Xen2050
yesterday
What was the exact error? It sounds like the password was correct, but something else went wrong? If you don't specify a good
--cipher-algo
or use --force-mdc
you might default to not having any modification detection code. Are you sure the file was transferred unchanged? And +1 to DeathkampDrone's comments too– Xen2050
yesterday
Okay, I was able to decrypt it and I can access the files, but I'm not sure if the backup is complete. While decrypting: "gpg: problem reading source (xxx bytes remaining) gpg: handle plaintext failed: No such file or directory gpg: decryption failed: Invalid packet". I'll verify if hash of the uploaded/downloaded file matches. I didn't specify any of these options, it defaulted to AES. Cc @Deathkamp Drone : I used the commands that you wrote.
– SoptikHa
yesterday
Okay, I was able to decrypt it and I can access the files, but I'm not sure if the backup is complete. While decrypting: "gpg: problem reading source (xxx bytes remaining) gpg: handle plaintext failed: No such file or directory gpg: decryption failed: Invalid packet". I'll verify if hash of the uploaded/downloaded file matches. I didn't specify any of these options, it defaulted to AES. Cc @Deathkamp Drone : I used the commands that you wrote.
– SoptikHa
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/3.0/"u003ecc by-sa 3.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
);
);
SoptikHa is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f510595%2fhow-to-create-password-encrypted-backup-with-gpg%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
SoptikHa is a new contributor. Be nice, and check out our Code of Conduct.
SoptikHa is a new contributor. Be nice, and check out our Code of Conduct.
SoptikHa is a new contributor. Be nice, and check out our Code of Conduct.
SoptikHa is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f510595%2fhow-to-create-password-encrypted-backup-with-gpg%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
The command is correct. Encrypt with:
gpg --symmetric filename
, decrypt withgpg --decrypt filename.gpg
. What does your script look like? What command do you use to decrypt it?– Deathkamp Drone
2 days ago
What was the exact error? It sounds like the password was correct, but something else went wrong? If you don't specify a good
--cipher-algo
or use--force-mdc
you might default to not having any modification detection code. Are you sure the file was transferred unchanged? And +1 to DeathkampDrone's comments too– Xen2050
yesterday
Okay, I was able to decrypt it and I can access the files, but I'm not sure if the backup is complete. While decrypting: "gpg: problem reading source (xxx bytes remaining) gpg: handle plaintext failed: No such file or directory gpg: decryption failed: Invalid packet". I'll verify if hash of the uploaded/downloaded file matches. I didn't specify any of these options, it defaulted to AES. Cc @Deathkamp Drone : I used the commands that you wrote.
– SoptikHa
yesterday