Article View: news.software.nntp
Article #17831Re: Authenticated cancels (was Re: Rick Buchanan is lying again (Was: Retromoderation in alt.smokers.cigars))
From: Snowhare
Date: Sat, 17 May 1997 00:00
Date: Sat, 17 May 1997 00:00
110 lines
6215 bytes
6215 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Nothing above this line is part of the signed message.
In article <337DC805.ED3B3A48@synapse.net>,
Evan Champion <evanc@synapse.net> wrote:
>Howard Goldstein wrote:
>> One legitimate criticism of the authenticated cancel schemes is the
>> processing load to be borne by the newsserver. To help ameliorate
>> this concern one or a series of central servers could be commissioned
>> to received signed cancels say by posting in an open newsgroup,
>> authenticate them, and emit a bunch collected over some smallish
>> period of time in a NoCeM article to be processed by ncmspool. This
>> core idea was mentioned by someone else many months ago; if that
>> person is still here s/he might drop in to take credit for it.
>
>I disagree that authenticated cancel schemes would cause an unbearable
>processing load on news servers.
>
>Of course, it will cause additional work, however news servers are
>typically extremely I/O bound and have plenty of CPU available. The
>time to verify a signature is extremely small in the grand scheme of
>things.
True. The basic 'double hash' authentication scheme should not overload a
news server - particularly since *individual's* self-cancels are a very
small fraction of the cancel traffic now and since the basic
cryptographically secure hashes under consideration are *designed* to be
very fast. With NOCEMs for spam fighting (and other specific jobs like
expiring ClariNet articles) and authenticated cancels for cancelling your
own articles, I would think the overall load would in fact drop
substantially since the number of actual *cancel messages* being accepted
would be slashed by at least one order of magnitude (maybe two orders).
Lets see.... Just for information purposes, here is what the experts over
at sci.crypt felt would be an adequate 'keyed hash' type function for use
in authenticated cancels (quoting from an email from Jerry Leichter he
sent last year to me):
(Begin quoted material)
4. Finally, what you've been considering: Use a known, widely-
implemented "secure hash function" and "key" it to
produce a MAC. The common constructions (key in front,
key at end, key at both ends, etc.) range in security
from terrible to poor to completely unknown (except, of
course, in BS - Bernstein Space, an alternate reality in
which "known, widely-implemented secure hash function"
is defined as "something that gives you the properties
you want *right now*".)
The best security guarantees known are for HMAC,
defined as follows:
HMAC(K,X) = H(K^OPAD + H(K^IPAD + X))
where:
H is a cryptographic hash function, most
likely MD5 or SHA-1.
^ is XOR
+ is concatenation (lower precedence than ^)
OPAD, IPAD are different constants with length
equal to the block size of H - 512 bits
for both MD5 and SHA-1. The designers
of HMAC (Bellare, Canetti, and Krawczyk)
suggest OPAD be 64 copies of Hex(36)
and IPAD be 64 copies of Hex(5C).
(Other values will work, but don't
change them without reading the paper.)
K is the secret key, up to one block in length,
padded as required to one full block by
adding 0 bits.
It's not quite the case that "if MD5 (SHA-1) is secure,
then HMAC built upon them is secure", but the additional
assumptions beyond the standard ones on MD5 (SHA-1)
are weak and appear reasonable. This puts HMAC in a
stronger position than the other common proposals.
If you're going to use a MAC based on a standard cryptographic hash
function, you might as well use HMAC. It's the current "best known"
technique along these lines, and is as easy to implement and about as
fast as any other such technique. (*Any* technique you use will
certainly have to run the underlying hash function over the entire
message. For all but very short messages, the additional work in HMAC -
hashing two more blocks - is minimal. Of course, you don't actually
need to do the concatenations in the definition - just feed that data in
as additional blocks to the hash function.)
For *real* security and performance, a MAC "designed from the ground up"
is, and will almost certainly remain, the way to go. For the purpose at
hand, however, HMAC should be quite secure enough.
(End quoted material)
Benjamin Franz
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBM33poejpikN3V52xAQH0WAP/W7NTQB8eaQYWnqTSj09QIEcwmgcMRTej
LbmofTUs9/sSMHqHLkw2LDBQ2x9sAs6HkEm/QLu6sYmSRrb2m6owTScDUZ4kTLtW
6hYGfCBJ5vjqssKnmQCyOBguQ2M6ZifC9NnnERv7kPqz4UFHgoAfL+MydxDZuIkh
Qps0KvDa/lg=
=HQFA
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<5lkpjg$rum@xmission.xmission.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<VRuR7D61w165w@bwalk.dm.com> <5ljorv$ekg$1@news1.exit109.com> <5nr8lb.uqa.hgoldste@bbs.mpcs.com> <337DC805.ED3B3A48@synapse.net>Show Full Headers
Complete Article Headers
Message-ID: <5lkpjg$rum@xmission.xmission.com> Subject: Re: Authenticated cancels (was Re: Rick Buchanan is lying again (Was: Retromoderation in alt.smokers.cigars)) Date: Sat, 17 May 1997 00:00:00 +0000 From: snowhare@xmission.xmission.com (Snowhare) References: <VRuR7D61w165w@bwalk.dm.com> <5ljorv$ekg$1@news1.exit109.com> <5nr8lb.uqa.hgoldste@bbs.mpcs.com> <337DC805.ED3B3A48@synapse.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 242110575 Distribution: inet Organization: High Mountain Warren Newsgroups: news.admin.net-abuse.usenet,news.admin.censorship,news.software.nntp