LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zorin OS
User Name
Password
Zorin OS This forum is for the discussion of Zorin OS Linux.

Notices


Reply
  Search this Thread
Old 01-02-2022, 10:17 AM   #1
dnscouple
LQ Newbie
 
Registered: Jan 2022
Posts: 1

Rep: Reputation: Disabled
trying to restore


GPGError: GPG Failed, see log below: ===== Begin GnuPG log ===== gpg: no valid OpenPGP data found. gpg: decrypt_message failed: Unknown system error ===== End GnuPG log =====

I have just made this backup today and reinstalled zorin to restore the backups too as I wanted to set up new on a m.2 2280 ssd. Now when I restore using my password, this is the error I receive. I did see some things about a resolution using some gnupg conf file and giving more parameters but I dont know how to do that. Can someone help give me a step by step. I am very new to linux.

Proposed fix - however i do not know how to do this


Add the following to ~/.gnupg/gpg.conf:

use-agent
pinentry-mode loopback

And to your ~/.gnupg/gpg-agent.conf:

pinentry-program /usr/bin/pinentry-gtk-2
allow-loopback-pinentry

Then restart the agent with echo RELOADAGENT | gpg-connect-agent.

The restore work even if the keys are only on the local machine. I still don't get why it does not ask for the passphrase when making incremental though.
 
Old 01-06-2022, 06:48 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,314

Rep: Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327
Hello, dnscouple & welcome to LQ.

Have you passworded a backup? If you have a corrupt PGP file you won't restore it. Say goodbye to it. That's the extent on my knowledge. Even with the NSA behind you, that's a difficult one, and I don't think the NSA have registered on LQ yet.

lesson #1: Never encrypt anything you are not prepared to lose.

There's an occasional traffic through here of people wanting to make their data super-secure, but not appreciating all the rigour, discipline & precautions necessary to hold such highly encrypted data safely. Did you even encrypt a Meg of data and check that you can decrypt it safely? They are often talked out of their plans. Sometimes go away in tears.

Last edited by business_kid; 01-06-2022 at 07:02 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
whether Linux as Restore option to Restore Previous Day Setting as Windows sanjay87 Linux - Newbie 2 11-12-2012 04:48 AM
iptables-restore ubuntu server does not restore at boot R03L Ubuntu 4 02-09-2010 08:14 PM
Restore MySQL Dump File But I want it to restore with different names? helptonewbie Linux - Newbie 5 07-08-2009 05:09 AM
mksysb restore - Wrong OS level for restore pobman AIX 0 12-10-2008 09:32 PM
How to restore files using the restore command ? SKYNAT Linux - Newbie 2 12-28-2007 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zorin OS

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration