Re: TOFU db corruption detected

2017-08-06 Thread MFPA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On Sunday 6 August 2017 at 1:32:09 AM, in
, Daniel
Villarreal wrote:-



> "... run sqlite3 with vacuum, reindex and analyze

Reindex and analyze shrunk my tofu.db by a further 4 KB but GnuPG
unfortunately still reports the same issue.

- --
Best regards

MFPA  

Day-old pastry is hollow succour to a man who is bereft of ostrich.
-BEGIN PGP SIGNATURE-

iNUEARYKAH0WIQQzrO1O6RNO695qhQYXErxGGvd45AUCWYb+Ol8UgAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNB
Q0VENEVFOTEzNEVFQkRFNkE4NTA2MTcxMkJDNDYxQUY3NzhFNAAKCRAXErxGGvd4
5NWTAP9irQI4bwxuaova0nX6neWUs2V7qsDTII+cgjq4XElw8AD9F48t5Sq4Gyxt
p+OXUAvj5sxGoDduYlsM9z5pKcmuTQmJAZMEAQEKAH0WIQSzrn7KmoyLMCaloPVr
fHTOsx8l8AUCWYb+Ol8UgAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0QjNBRTdFQ0E5QThDOEIzMDI2QTVBMEY1NkI3
Qzc0Q0VCMzFGMjVGMAAKCRBrfHTOsx8l8FjxCACq6PgcIGo1N96nwDlzegXRCUWU
HcyMRYkpoRSVfeod0dLvRd+0gIafj2gI6b2eUr/WYq1Gic3f3QcnSf6MOFzYqwNG
nHZ5GMI8W+zT49+jRm+n0VXdnygb6KLYUTB4Ci1J1fJyW1u+j8kH8krv81d6Xb6P
mx6K47GXgVYmZSHp6j6E1/J2L9VgQ02bhNS3k2sAbr60oFca6Ftn3qw29ZjwC2yo
TyOy+HIn9VP/nDNVAYAn2+CxLwoe6EJI5NLcHSUJ77Kw9bN9tqfTkKLNZS3v54Rr
i6VgLJqqYHMwiZjaxgVZW2YqO9wy3Vd0GLC9hxbsn45wIxjkzWYWCHpxzRq0
=zo4J
-END PGP SIGNATURE-


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: TOFU db corruption detected

2017-08-06 Thread MFPA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On Saturday 5 August 2017 at 4:30:12 PM, in
, Teemu Likonen wrote:-


> Before the developers give you more educated answers
> I'll point out that
> the tofu database is a regular Sqlite database file.
> So you can do:

> $ sqlite3 ~/.gnupg/tofu.db

> and then execute any SQL commands. Interesting SQL
> command could be
> "vacuum" which, in Sqlite, basically dumps the the
> database as SQL text
> commands, then deletes the database and finally reads
> the SQL dump
> again. If you want to try that, make a copy of your
> tofu.db file first.
> Then start Sqlite like the example line above and:

> sqlite> vacuum;

> https://www.sqlite.org/lang_vacuum.html


Thanks for replying. I downloaded Sqlite and tried that. It reduced
the size of my tofu.db from 1532 to 1432 KB but unfortunately GnuPG
still reports the same issue.

- --
Best regards

MFPA  

Beware the deadly donkey falling slowly from the sky
-BEGIN PGP SIGNATURE-

iNUEARYKAH0WIQQzrO1O6RNO695qhQYXErxGGvd45AUCWYb9a18UgAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNB
Q0VENEVFOTEzNEVFQkRFNkE4NTA2MTcxMkJDNDYxQUY3NzhFNAAKCRAXErxGGvd4
5BVrAQCDiwNBDNPN9AtQUd92U5hQkTiXCCFyDrQhSSsNDtDocgEA3lxrSm0oFBrp
8os/BV2NqI7772dSVa8omLB6IkiDzQWJAZMEAQEKAH0WIQSzrn7KmoyLMCaloPVr
fHTOsx8l8AUCWYb9a18UgAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0QjNBRTdFQ0E5QThDOEIzMDI2QTVBMEY1NkI3
Qzc0Q0VCMzFGMjVGMAAKCRBrfHTOsx8l8DkGB/oDmSfN/uPAeI+SGZOwPVOjrMSN
o/vm9urtqTMRfjv3xCU9qY9P8Lv3WEt6nCPWK3yCH1DOujjR1dis1muyI5aGAzvI
Pm7MjDTZhhawBVX3zc3JywIxPBxc3ZO+L2S6zMfywAjOQP5Zx0vKijj6PMptBRi+
jVAyfyBs403wGFyo7PWrACylJVP1tnNXBMUGhaN4Zlg+bGu8Il2voBK6DXuV1Vkz
YwtcgmAWUOF+AUIp/d09BVHGs9rWRywDFlTsPCoZZOfmHRUzHboTpAYqBljY1RJh
sPE7VFBLejJSSg39jj3VcC9cm+Sj2C8fVWo5YsWw9u33l8u1Jpq52VMwHVSS
=s6Fh
-END PGP SIGNATURE-


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Posting short GnuPG clear signed messages on social media sites

2017-08-06 Thread Stefan Claas
On Sun, 6 Aug 2017 11:16:19 +0100, MFPA wrote:

> I tested using text written in Notepad under Windows 10, then
> clearsigned using GnuPG, pasted into Facebook, and hit "post". When
> the post appeared on my timeline, I copied the text back from the post
> and verified the signature without any errors using GnuPG. I also
> tested with text that I signed and encrypted; I was able to decrypt
> and verify without any errors the text that appeared on my timeline.

Well, i can't get it to work, even when changing to Windows file format.
Always same error message. But no problem, because of QR-Code... :-)

Regards
Stefan

-- 
https://www.behance.net/futagoza
https://keybase.io/stefan_claas


pgpIjWnBsvg0C.pgp
Description: Digitale Signatur von OpenPGP
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Posting short GnuPG clear signed messages on social media sites

2017-08-06 Thread MFPA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On Saturday 5 August 2017 at 2:56:20 PM, in
, Stefan Claas wrote:-



> Well, to me the formatting then looks a bit ugly. :-)

It does look ugly. But it is a text message, not a presentation.



> But when importing back and verifying it i get:

> gpg: invalid armor header: Lorem ipsum dolor sit
> amet, consectetur
> adipiscing\n gpg: invalid armor
> header:iQEzBAEBCAAdFiEEK6+F+SgavVQ4I8fFmB63w4LsUrQFAlmFyfIACgkQmB63w4Ls\n

I tested using text written in Notepad under Windows 10, then
clearsigned using GnuPG, pasted into Facebook, and hit "post". When
the post appeared on my timeline, I copied the text back from the post
and verified the signature without any errors using GnuPG. I also
tested with text that I signed and encrypted; I was able to decrypt
and verify without any errors the text that appeared on my timeline.



- --
Best regards

MFPA  

Always forgive your enemies; nothing annoys them so much
-BEGIN PGP SIGNATURE-

iNUEARYKAH0WIQQzrO1O6RNO695qhQYXErxGGvd45AUCWYbsdV8UgAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNB
Q0VENEVFOTEzNEVFQkRFNkE4NTA2MTcxMkJDNDYxQUY3NzhFNAAKCRAXErxGGvd4
5DPtAP93H8ZWwpWTWQXZCmNzvHy8PbvPRzS4MrNjpeX0sU/7BgEAnqCft0G06wBO
/qJNbLCSceqvTTAHrGzN3ZxHRiS+3QaJAZMEAQEKAH0WIQSzrn7KmoyLMCaloPVr
fHTOsx8l8AUCWYbsfV8UgAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0QjNBRTdFQ0E5QThDOEIzMDI2QTVBMEY1NkI3
Qzc0Q0VCMzFGMjVGMAAKCRBrfHTOsx8l8BgqB/9P9W2EVYhGkof5U6xsJzIxfxPa
VLqAwY818l0xSNjxOtHCpPoCssuK8qJls7Oo8jjGuCodn1rdJ5jSq0Fk3RY2vYio
7NRR0zKzgiNPk3LpFQj0BaYToo3WywgWe4ZCRPr+yXcvEV+35Gt5w7fihoGJV1lB
nv/T0OrmjgJtz2VEjQezBT+4EZV3a1xXk8E65D8g6yQBMPKjKtO3BjgaeTIlRYHZ
PgMaWatWgzzWm+02DfdV3J/oP5H0NdMf8Dr9dQdNeU6ZqB/5Fbp4anEuf/11wCa8
1ZX3pwGCoi3TYgGJW4PUGQtPM0QTh/3kl5US8UeT3l5yzRjXzz0bem4z2O00
=fdzI
-END PGP SIGNATURE-


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Posting short GnuPG clear signed messages on social media sites

2017-08-06 Thread Stefan Claas
On Sun, 6 Aug 2017 00:29:37 -0500, Werewolf wrote:

> A simpler methode on a linux system 
> gpg --clearsign|qrencode -o message.png

> For Decoding message and verifying signature
> zbarimg message.jpg| sed "s/QR-Code:-/-/g"|gpg 
>  
> or just to verify signature
> zbarimg message.png| sed "s/QR-Code:-/-/g"|gpg --verify

Thanks for pointing that out!

And with zxing, available at https://github.com/zxing/zxing
we can omit sed usage.

Regards
Stefan
 
--
https://www.behance.net/futagoza
https://keybase.io/stefan_claas


pgpD10rvYrO1C.pgp
Description: Digitale Signatur von OpenPGP
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Posting short GnuPG clear signed messages on social media sites

2017-08-06 Thread Werewolf
On Fri, Aug 04, 2017 at 02:46:19PM +0200, Stefan Claas wrote:
> So, simply prepare your short GnuPG message and then do a:
> 
> $ qrencode -o message.png < message.txt.asc, to obtain a
> .png image, ready to be posted on social media sites.

A simpler methode on a linux system 
gpg --clearsign|qrencode -o message.png

> To decode such an image in Terminal simply do a:
> (please note: the images when downloaded are then in .jpeg format)
> 
> http://zbar.sourceforge.net/download.html
> 
> $ zbarimg image.jpg > output.txt && sed "s/QR-Code:-/-/g" output.txt |
> gpg --verify
 
For Decoding message and verifying signature
zbarimg message.jpg| sed "s/QR-Code:-/-/g"|gpg 
 
or just to verify signature
zbarimg message.png| sed "s/QR-Code:-/-/g"|gpg --verify
 
Wolf



signature.asc
Description: Digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users