File: canlock.el.html
Canlock is a library for generating and verifying Cancel-Lock and/or
Cancel-Key header in news articles. This is used to protect articles
from rogue cancel, supersede or replace attacks. The method is based
on draft-ietf-usefor-cancel-lock-01.txt which was released on November
3rd 1998. For instance, you can add Cancel-Lock (and possibly Cancel-
Key) header in a news article by using a hook which will be evaluated
just before sending an article as follows:
(add-hook '*e**a*e-header-hook #'canlock-insert-header t)
Verifying Cancel-Lock is mainly a function of news servers, however,
you can verify your own article using the command canlock-verify in
the (raw) article buffer. You will be prompted for the password for
each time if the option canlock-password or
canlock-password-for-verify is nil. Note that setting these
options is a bit unsafe.
Defined variables (3)
canlock-force-insert-header | If non-nil, insert a Cancel-Lock or a Cancel-Key header even if the |
canlock-password | Password to use when signing a Cancel-Lock or a Cancel-Key header. |
canlock-password-for-verify | Password to use when verifying a Cancel-Lock or a Cancel-Key header. |
Defined functions (8)
canlock-delete-headers | () |
canlock-fetch-fields | (&optional KEY) |
canlock-fetch-id-for-key | () |
canlock-insert-header | (&optional ID-FOR-KEY ID-FOR-LOCK PASSWORD) |
canlock-make-cancel-key | (MESSAGE-ID PASSWORD) |
canlock-narrow-to-header | () |
canlock-sha1 | (MESSAGE) |
canlock-verify | (&optional BUFFER) |