Article View: alt.privacy.anon-server
Article #251695Re: Rooster's Method of batch decryption
From: Nomen Nescio
Date: Wed, 02 Nov 2011 03:12
Date: Wed, 02 Nov 2011 03:12
95 lines
5383 bytes
5383 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In article <PH9ADIIW40846.5791666667@reece.net.au> Rooster <remailer@reece.net.au> wrote: [snip] > - ------------------------ > @ECHO. > @ECHO Beginning Rooster's Method for batch decryption: > @ECHO. > RENAME *.txt *.asc > @ECHO off > IF errorlevel 1 GOTO EOF > SET "pword=" > :variable > SET /p pword=<password-file > IF NOT DEFINED pword GOTO endprocess ELSE GOTO decipher > :decipher > FOR %%G IN (*.asc) DO echo %pword%|gpg --batch --passphrase-fd 0 --decrypt-files > %%G > FOR /F "skip=1" %%A IN (password-file) DO @echo %%A>>password-file2 > IF NOT EXIST password-file2 GOTO endprocess > ATTRIB -R password-file > MOVE /y password-file2 password-file > GOTO variable > :endprocess > ERASE /f password-file > ECHO There are no more passwords in the password-file. > SET "pword=" > ECHO Your messages, if any, have been deciphered. > ECHO Removing undeciphered messages... > ERASE /f *.asc > :EOF > ECHO The batch processing has finished. > - ----------------------- > > During the batch process, here is what happens basically: > [snip] > 8. this same loop of trying each password against each message and discarding > the individual passwords after each complete pass will resume until all the > passwords are gone. Actually it moves fairly quickly, just depending on how > many messages you have and how many passwords are in your list. [snip] Another really important factor I see that has a substantial effect on how long the batch decryption process could take is related to how much debugging and diagnostic output you have set in your configuration files for gpg. From what I have seen, the default values for debugging and such is usually set to minimum-- that is, no verbosity. However, if you are using a GUI like GPA or GPGshell, both of which I think work excellently, you might have fiddled with some of these settings easily and not returned one of them to their default values. Maybe you liked seeing the extra information while you were getting familiar with the program. (We do like our GUIs after all.) This is all fine when you are not doing batch jobs and striving for efficiency. However, unless you have a really good reason for it, like debugging problems, you should turn off the verbose output settings, especially if you are doing batch decryption jobs. If you minimize the output that displays on the terminal window from the shell, your batch jobs will move by much more quickly. Much! Check all the *.conf files in your Windows "%appdata%\gnupg" folder (the default), or wherever your home folder for gpg was placed. You can find it by this command at the command prompt: gpg --version. It will show you where the Home directory path is, among other things. (As always you should make a 'copy.bak' of the file first.) If your *.conf files have "verbose" or "debug levels" set, you can change them in the GUI or remark them out with a direct edit. Believe me, this will make your batch decryption jobs move much quicker. I believe I will be able to come up with some other refinements of my batch decryption method, and I will share them here. It's always nice to have alternatives. Thanks. -----BEGIN PGP SIGNATURE----- Version: N/A iQGcBAEBAgAGBQJOsKnIAAoJEO3Co03SMUtBH9YL/AhxR/I9g9+k0uRayH+HTE5A K1zngcxM5pm7fHLfzUlD4JQLowDBQoCuvf7ZTIX9FYhY44MaW2Yof7j/7ZRGenj6 +WIpqTGGSIvXoAGBzHxfgrXbhEW7fCG6opwoRN2GN2e1c1UtGSJEQEaFZQeSN0Y/ xF52GshcBdWCKx2d4F/C6SzWnkWHQygau4sUGem6Azpkzs3D/t9CkFpXfPhXZiI5 FS/aZph8LZe0+JOdrldEQgQ68UB+tgJMpd/170mq39jszfc+aYQKxBOCxWBcuyHD hF6UKV7qfEp3gRdf2U1m312AdeMpX5UGbGXdGokIMXAoX5ByCxwk3cQIR03ESxiv aZuzGGjI+a4Yhn0lFGbJiyI1WKcP6495UBCxjHHGK2j4THPcz04G7xegY09kd3ZP JOHcDqnjVFFqiZ8hqpIQUT2zB7/GLkn++LA+5SXi2MHCp4WbfgP6e8aXD/vJLL+4 MFftcOzOyn1k+ECO8fTOXCf6b+LcqWKYqv+o1AmMmw== =gnNB -----END PGP SIGNATURE----- -- rooster@thechickencoop.net
Technical Details
Message-ID:
<9fbcab964528188aea386a9455bd825f@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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.114.241.41.MISMATCH!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!feeder3.eweka.nl!81.171.88.16.MISMATCH!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mailReferences:
<PH9ADIIW40846.5791666667@reece.net.au>Show Full Headers
Complete Article Headers
Message-ID: <9fbcab964528188aea386a9455bd825f@dizum.com> Subject: Re: Rooster's Method of batch decryption Date: Wed, 02 Nov 2011 03:12:27 +0000 From: Nomen Nescio <nobody@dizum.com> References: <PH9ADIIW40846.5791666667@reece.net.au> 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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.114.241.41.MISMATCH!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!feeder3.eweka.nl!81.171.88.16.MISMATCH!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail Comments: This message did not originate from the Sender address above. It was remailed automatically by anonymizing remailer software. Please report problems or inappropriate use to the remailer administrator at <abuse@dizum.com>. X-No-Archive: Yes Newsgroups: alt.privacy.anon-server Lines: 96 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net X-Original-Bytes: 5117