🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #251306

Re: QSL problem with database

#251306
From: QuickSilver
Date: Tue, 11 Oct 2011 05:28
70 lines
4114 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <850ff049d7cc06a168ce224ff31fbc6c@dizum.com>
Nomen Nescio <nobody@dizum.com> wrote:
> >
> > It would be helpful to know what you mean by 'failed to open'. Error
> > messages? Whatever? What is the series of events that happen after
> > you click the button to decrypt.
>
> After I click the button to decrypt, I get an error message saying something
> about an invalid key, but I will watch to see the exact statements and post them
> here if it occurs again.  The problem with that procedure is that I have now
> disabled secure mode to prevent it from recurring.  I will have to get to a
> point where I have finished with templates for a while so that I can make a
> backup of its database in working order while not in secure mode.  Then I will
> put it in secure mode and work with it some more so that I can see the error
> message if it should happen again.  If it does, then I should be able to restore
> the database made before putting it in secure mode.  Will it recognize that it
> should now not be in secure mode, or should I make that change before restoring
> the backup.

I'm not sure what's happening but I would like to get more info on
the error message. When you get the error, set that qs.db aside.
Don't delete it. We can use it to get more info on the problem. In
other words, I can ask you to do this or that and tell me what
happens using the problem db.

What mode you are in is determined by the database. If it's encrypted
it's automatically Secure Mode. When you give QSL the backup db it
will know how to handle it, either way.

> > > Richard, about the only thing that occurs to me is whether the presence of a gpg
> > > key on a template or the presence of a gpg key cached in memory can cause this
> > > behavior.  I cannot think of anything else I am doing that might make it
> > > malfunction like this.  Any ideas?
> >
> > The only gpg key that's important is the one the database is
> > encrypted with. You give it the passphrase and gpg attempts to
> > decrypt it with the key that the database was encrypted with. Nothing
> > else is involved.
>
> The documentation on gpg that I have seen uses the terminology of "key" to refer
> both to public key and to symmetric password.

They both are keys. On the one hand you have a keyring of pgp keys.
Those are not what the db is encrypted with. On the other hand you
simply have a passphrase and that alone is used to encrypt the db for
secure mode.

Encrypting with just a psssphrase is called symmetric encryption.
Encrypting with a pgp key is called asymmetric (public-key)
encryption. When decrypting with a pgp key, the passphrase you enter
is used only to decrypt the private pgp key. Then the pgp key is used
for the decryption.

Richard

-----BEGIN PGP SIGNATURE-----
Version: N/A

iD8DBQFOk9QBb2QuqWfQ0wMRAkRfAJ4we2HySe1gmR0NFB3yLHePapK8EQCfaTYJ
+91Vj71GegTORa3j7aFZL3Q=
=dBqX
-----END PGP SIGNATURE-----

-- 
Richard Christman
https://www.quicksilvermail.net
Technical Details
Message-ID: <E1RDUsN-0001Nl-BC@quicksilvermail.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
References: <SUNA3DUO40827.2633217593@reece.net.au> <E1RDPjr-0001Ij-45@quicksilvermail.net> <850ff049d7cc06a168ce224ff31fbc6c@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <E1RDUsN-0001Nl-BC@quicksilvermail.net>
Subject: Re: QSL problem with database
Date: Mon, 10 Oct 2011 23:28:35 -0600
From: QuickSilver <Use-Author-Supplied-Address-Header@[127.1]>
References: <SUNA3DUO40827.2633217593@reece.net.au> <E1RDPjr-0001Ij-45@quicksilvermail.net> <850ff049d7cc06a168ce224ff31fbc6c@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
Author-Supplied-Address: quicksilver <AT> quicksilvermail <DOT> net
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 69
X-Original-Bytes: 3846