How to fix an asc encrypted file

I have a video file that was zipped and then encrypted using kleopatra with opensuse 11.3 if I recall fine, but now that I want to unencrypt I have an error Decryption failed: No data, is there a way a recover at least a part of the video?

thanks

On Mon, 13 Oct 2014 20:46:01 +0000, Easgs wrote:

> is there a way a recover at
> least a part of the video?

Not very likely, that would kinda defeat the purpose of encryption…

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I have encrypted the video and have the correct password, it is not a password or certify problem, the problem I think is that the file got damage in the cd where it was stored, what I want is to know if there is a way to recover at least a part of the video, I have the correct password because I have encrypted the file so I don’t need to bypass the encryption.

That error suggest that perhaps you had the command parameters wrong. At least recheck that.

On 2014-10-14 00:16, Easgs wrote:
>
> I have encrypted the video and have the correct password, it is not a
> password or certify problem, the problem I think is that the file got
> damage in the cd where it was stored, what I want is to know if there is
> a way to recover at least a part of the video, I have the correct
> password because I have encrypted the file so I don’t need to bypass the
> encryption.

I think it is impossible.

But kleopatra uses GPG, so you may google for a dedicated GPG forum and
search/ask there.

The safe way to store things for reliable archiving is using forward
data recovery methodologies. No, I don’t know any software in Linux that
does it, besides parchive; par2 is in the distribution on some home
repos. And it does not convince me.

http://software.opensuse.org/package/libpar2
http://en.wikipedia.org/wiki/Parchive

Some time ago, I used this, to prepare data recovery blocks for DVDs:


LISTA="*pdf *rar *zip *avi *jpg"
SILENCE=""
time nice par2 c -m500 -s1048576 -c225  $SILENCE -l recovery $LISTA

You have to adjust the parameters and the data files sizes so that it
all fits into a DVD. If I had to do it today, I’d like to investigate it
first, again.

I seem to recall some specific softawre for CD/DVDs, but I forgot the
name… Maybe it was some other software for Windows that simply
automated this procedure.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

On Mon, 13 Oct 2014 22:16:01 +0000, Easgs wrote:

> I have encrypted the video and have the correct password, it is not a
> password or certify problem, the problem I think is that the file got
> damage in the cd where it was stored, what I want is to know if there is
> a way to recover at least a part of the video, I have the correct
> password because I have encrypted the file so I don’t need to bypass the
> encryption.

I would redirect you back to my initial response.

This is one of the things that happens with encryption. Typically (but
not always), encryption involves the use of a cypher block that uses a
strong encryption key that’s unlocked by a password - the password itself
isn’t used in the encryption.

If that key block is corrupted, then there’s no hope for recovery at all.

If the key block is not corrupted, but part of the file is, you may be
able to recover part of the file up to the corrupted bit. But the only
way to do that is with the software used for the encryption. So, if the
software you used to encrypt the file won’t give you a partial file back,
then the answer is no, there isn’t a way to recover even part of the
file, at least not without hacking at the code for the encryption,
assuming it’s open source to begin with.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2014-10-14 04:17, Jim Henderson wrote:
> file, at least not without hacking at the code for the encryption,
> assuming it’s open source to begin with.

Yes, it is:


cer@Telcontar:~> which kleopatra
/usr/bin/kleopatra
cer@Telcontar:~> rpm -qf /usr/bin/kleopatra
kdepim4-4.11.5-468.2.x86_64
cer@Telcontar:~> rpm -qfi /usr/bin/kleopatra
Name        : kdepim4
Version     : 4.11.5
Release     : 468.2
Architecture: x86_64
Install Date: 2014-05-22T04:44:12 CEST
Group       : System/GUI/KDE
Size        : 21149327
License     : GPL-2.0+ and LGPL-2.1+
Signature   : RSA/SHA256, 2014-05-21T10:30:49 CEST, Key ID b88b2fd43dbdc284
Source RPM  : kdepim4-4.11.5-468.2.src.rpm
Build Date  : 2014-05-13T17:38:16 CEST
Build Host  : build31
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.kde.org
Summary     : Base package of kdepim
Description :
This package contains the core files of the kdepim module.
Distribution: openSUSE 13.1
cer@Telcontar:~>

It is just a frontend, to openpgp and cms at least.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)