1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117
|
<pre>Internet Engineering Task Force (IETF) M. Baeuerle
Request for Comments: 8315 STZ Elektronik
Updates: <a href="./rfc5537">5537</a> February 2018
Category: Standards Track
ISSN: 2070-1721
<span class="h1">Cancel-Locks in Netnews Articles</span>
Abstract
This document defines an extension to the Netnews Article Format that
may be used to authenticate the withdrawal of existing articles.
This document updates <a href="./rfc5537">RFC 5537</a>.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc8315">https://www.rfc-editor.org/info/rfc8315</a>.
Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Baeuerle Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Conventions Used in This Document ..........................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Header Fields ...................................................<a href="#page-3">3</a>
<a href="#section-2.1">2.1</a>. Cancel-Lock ................................................<a href="#page-4">4</a>
<a href="#section-2.2">2.2</a>. Cancel-Key .................................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Use .............................................................<a href="#page-5">5</a>
3.1. Adding an Initial Cancel-Lock Header Field to a
Proto-Article ..............................................<a href="#page-5">5</a>
<a href="#section-3.2">3.2</a>. Extending the Cancel-Lock Header Field of a Proto-Article ..6
<a href="#section-3.3">3.3</a>. Adding a Cancel-Key Header Field to a Proto-Article ........<a href="#page-6">6</a>
<a href="#section-3.4">3.4</a>. Extending the Cancel-Key Header Field of a Proto-Article ...<a href="#page-7">7</a>
<a href="#section-3.5">3.5</a>. Check a Cancel-Key Header Field ............................<a href="#page-7">7</a>
<a href="#section-4">4</a>. Calculating the Key Data ........................................<a href="#page-8">8</a>
<a href="#section-5">5</a>. Examples ........................................................<a href="#page-9">9</a>
<a href="#section-5.1">5.1</a>. Without UID ................................................<a href="#page-9">9</a>
<a href="#section-5.2">5.2</a>. With UID ..................................................<a href="#page-10">10</a>
<a href="#section-5.3">5.3</a>. Other Examples ............................................<a href="#page-11">11</a>
<a href="#section-5.4">5.4</a>. Manual Checks .............................................<a href="#page-12">12</a>
<a href="#section-6">6</a>. Obsolete Syntax ................................................<a href="#page-12">12</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-13">13</a>
<a href="#section-8">8</a>. IANA Considerations ............................................<a href="#page-15">15</a>
<a href="#section-8.1">8.1</a>. Algorithm Name Registration Procedure .....................<a href="#page-16">16</a>
<a href="#section-8.2">8.2</a>. Change Control ............................................<a href="#page-16">16</a>
<a href="#section-8.3">8.3</a>. Registration of the Netnews Cancel-Lock Hash Algorithms ...<a href="#page-17">17</a>
<a href="#section-9">9</a>. References .....................................................<a href="#page-18">18</a>
<a href="#section-9.1">9.1</a>. Normative References ......................................<a href="#page-18">18</a>
<a href="#section-9.2">9.2</a>. Informative References ....................................<a href="#page-19">19</a>
Acknowledgements ..................................................<a href="#page-20">20</a>
Author's Address ..................................................<a href="#page-20">20</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The authentication system defined in this document is intended to be
used as a simple method to verify that the withdrawal of an article
is valid; that is to say the poster, posting agent, moderator, or
injecting agent that processed the original article has requested to
withdraw it via the use of a cancel control article
(<a href="./rfc5537#section-5.3">[RFC5537] Section 5.3</a>) or a Supersedes header field
(<a href="./rfc5537#section-5.4">[RFC5537] Section 5.4</a>).
This document defines two new header fields: Cancel-Lock and
Cancel-Key. The Cancel-Lock header field contains hashes of secret
data. The preimages can later be used in the Cancel-Key header field
to authenticate a cancel or supersede request.
<span class="grey">Baeuerle Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
One property of this system is that it prevents tracking of
individual users.
There are other authentication systems available with different
properties. When everybody should be able to verify who the
originator is, e.g., for control articles to add or remove newsgroups
(<a href="./rfc5537#section-5.2">[RFC5537] Section 5.2</a>), an OpenPGP [<a href="./rfc4880" title=""OpenPGP Message Format"">RFC4880</a>] signature is
appropriate.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Conventions Used in This Document</span>
Any term not defined in this document has the same meaning as it does
in [<a href="./rfc5536" title=""Netnews Article Format"">RFC5536</a>] or [<a href="./rfc5537" title=""Netnews Architecture and Protocols"">RFC5537</a>].
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
<a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>] [<a href="./rfc8174" title=""Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"">RFC8174</a>] when, and only when, they appear in all
capitals, as shown here.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Header Fields</span>
This section describes the formal syntax of the new header fields
using ABNF [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>]. Non-terminals not defined in this document are
defined in <a href="./rfc5536#section-3">Section 3 of [RFC5536]</a>.
The new header fields Cancel-Lock and Cancel-Key are defined by this
document, extending the list of article header fields defined in
[<a href="./rfc5536" title=""Netnews Article Format"">RFC5536</a>].
Each of these header fields MUST NOT occur more than once in an
article.
Both new header field bodies contain lists of encoded values. Every
entry is based on a <scheme>:
scheme = "sha256" / "sha512" / 1*scheme-char / obs-scheme
scheme-char = ALPHA / DIGIT / "-" / "/"
The hash algorithms for <scheme> are defined in [<a href="./rfc6234" title=""US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)"">RFC6234</a>]; see also
[<a href="./rfc1321" title=""The MD5 Message-Digest Algorithm"">RFC1321</a>] and [<a href="./rfc6151" title=""Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms"">RFC6151</a>] for MD5, [<a href="./rfc3174" title=""US Secure Hash Algorithm 1 (SHA1)"">RFC3174</a>] for SHA1, and [<a href="#ref-SHA" title=""Secure Hash Standard (SHS)"">SHA</a>] for
the SHA2 family. The Base64 encoding used is defined in <a href="./rfc4648#section-4">Section 4 of
[RFC4648]</a>.
This document defines two values for <scheme>: "sha256" and "sha512".
The hash algorithm "sha256" is mandatory to implement.
<span class="grey">Baeuerle Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
Because the hash algorithm for <scheme> cannot be negotiated,
unnecessary proliferation of hash algorithms should be avoided. The
hash algorithms "sha224" and "sha384" are only added to the "Netnews
Cancel-Lock Hash Algorithms" registry (<a href="#section-8.3">Section 8.3</a>) because
implementations exist that support them. Implementations SHOULD NOT
use the hash algorithms "sha224" and "sha384" to generate <scheme>.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Cancel-Lock</span>
cancel-lock = "Cancel-Lock:" SP c-lock-list CRLF
c-lock-list = [CFWS] c-lock *(CFWS c-lock) [CFWS]
c-lock = scheme ":" c-lock-string
c-lock-string = *(4base64-char) [base64-terminal]
base64-char = ALPHA / DIGIT / "+" / "/"
base64-terminal = 2base64-char "==" / 3base64-char "="
Comments in CFWS (comments and/or folding whitespace) can cause
interoperability problems, so comments SHOULD NOT be generated but
MUST be accepted.
If <scheme> is not supported by an implementation, the corresponding
<c-lock> element MUST be skipped and potential following <c-lock>
elements MUST NOT be ignored.
<c-lock-string> is the Base64-encoded output of a hash operation
(defined by <scheme>) of the Base64-encoded key "K" that is intended
to authenticate the person or agent that created or processed
(respectively) the proto-article up to injection (inclusively):
Base64(hash(Base64(K)))
Because of the one-way nature of the hash operation, the key "K" is
not revealed.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Cancel-Key</span>
cancel-key = "Cancel-Key:" SP c-key-list CRLF
c-key-list = [CFWS] c-key *(CFWS c-key) [CFWS]
c-key = scheme ":" c-key-string
c-key-string = c-lock-string / obs-c-key-string
Comments in CFWS can cause interoperability problems, so comments
SHOULD NOT be generated but MUST be accepted.
If <scheme> is not supported by an implementation, the corresponding
<c-key> element MUST be skipped and potential following <c-key>
elements MUST NOT be ignored.
<span class="grey">Baeuerle Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
<c-key-string> is the Base64-encoded key "K" that was used to create
the <c-lock> element in the Cancel-Lock header field body (as defined
in <a href="#section-2.1">Section 2.1</a> of this document) of the original article:
Base64(K)
The relaxed syntax definition of <c-key-string> above is required for
backward compatibility with implementations that are not compliant
with this specification. Compliant implementations SHOULD generate
valid Base64 (that is to say the syntax of <c-lock-string> as defined
in <a href="#section-2.1">Section 2.1</a> of this document) and MUST accept strings of
<base64-octet> characters (that is to say the syntax of
<obs-c-key-string> as defined in <a href="#section-6">Section 6</a> of this document).
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Use</span>
Use cases:
o The poster of an article wants to cancel or supersede existing
articles.
o A moderator wants the ability to cancel articles after approving
them.
o An injecting agent wants to act as a representative for a posting
agent that has no support for the authentication system described
in this document.
o A news administrator wants the ability to cancel articles that
were injected by its system (because, for example, they violate
its abuse policy).
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Adding an Initial Cancel-Lock Header Field to a Proto-Article</span>
A Cancel-Lock header field MAY be added to a proto-article by the
poster or posting agent and will include one or more <c-lock>
elements.
If the poster or posting agent doesn't add a Cancel-Lock header field
to a proto-article, then an injecting agent (or moderator) MAY add
one, including one or more <c-lock> elements.
If multiple <c-lock> elements are added to the Cancel-Lock header
field by a single agent, each <c-lock> element MUST use a unique
key "K" to improve security.
<span class="grey">Baeuerle Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
If an injecting agent (or moderator) wants to act as a representative
for a posting agent without support for the authentication system
described in this document, then it MUST be able to positively
authenticate the poster and MUST be able to automatically add a
working Cancel-Key header field for all proto-articles with
cancelling or superseding attempts from that poster.
Other agents MUST NOT add this header field to articles or
proto-articles that they process.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Extending the Cancel-Lock Header Field of a Proto-Article</span>
If a Cancel-Lock header field has already been added to a
proto-article, then any agent further processing the proto-article up
to the injecting agent (inclusively) MAY append additional <c-lock>
elements to those already in the header field body.
If multiple <c-lock> elements are appended to the Cancel-Lock header
field by a single agent, each <c-lock> element MUST use a unique
key "K" to improve security.
If an injecting agent (or moderator) wants to act as a representative
for a posting agent without support for the authentication system
described in this document, then the same requirements apply as those
mentioned in <a href="#section-3.1">Section 3.1</a>.
Once an article is injected, then this header field MUST NOT be
altered. In particular, relaying agents beyond the injecting agent
MUST NOT alter it.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Adding a Cancel-Key Header Field to a Proto-Article</span>
The Cancel-Key header field contains one or more of the secret
strings that were used to create the Cancel-Lock header field of the
original article. Knowledge of at least one of the secret strings is
required to create a match for successful authentication.
A Cancel-Key header field MAY be added to a proto-article containing
a Control or Supersedes header field by the poster or posting agent
and will include one or more <c-key> elements. They will correspond
to some or all of the <c-lock> elements in the article referenced by
the Control (with a "cancel" command as defined in [<a href="./rfc5537" title=""Netnews Architecture and Protocols"">RFC5537</a>]) or
Supersedes header field.
<span class="grey">Baeuerle Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
If, as mentioned in <a href="#section-3.1">Section 3.1</a>, an injecting agent or moderator
(acting as a representative for the posting agent) has added a
Cancel-Lock header field to an article listed in the Control (with a
"cancel" command as defined in [<a href="./rfc5537" title=""Netnews Architecture and Protocols"">RFC5537</a>]) or Supersedes header field,
then (given that it authenticates the poster as being the same as the
poster of the original article) it MUST add the Cancel-Key header
field with at least one <c-key> element that corresponds to that
article.
Other agents MUST NOT alter this header field.
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Extending the Cancel-Key Header Field of a Proto-Article</span>
If a Cancel-Key header field has already been added to a
proto-article, then any agent further processing the proto-article
up to the injecting agent (inclusively) MAY append additional <c-key>
elements to those already in the header field body.
If, as mentioned in <a href="#section-3.2">Section 3.2</a>, an injecting agent or moderator
(acting as a representative for the posting agent) has extended the
Cancel-Lock header field in an article listed in the Control (with a
"cancel" command as defined in [<a href="./rfc5537" title=""Netnews Architecture and Protocols"">RFC5537</a>]) or Supersedes header field,
then (given that it authenticates the poster as being the same as the
poster of the original article) it MUST extend the Cancel-Key header
field body with at least one <c-key> element that corresponds to that
article.
Once an article is injected, then this header field MUST NOT be
altered. In particular, relaying agents beyond the injecting agent
MUST NOT alter it.
<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>. Check a Cancel-Key Header Field</span>
When a relaying or serving agent receives an article that attempts to
cancel or supersede a previous article via a Control (with a "cancel"
command as defined in [<a href="./rfc5537" title=""Netnews Architecture and Protocols"">RFC5537</a>]) or Supersedes header field, the
system defined in this document can be used for authentication. The
general handling of articles containing such attempts as defined in
[<a href="./rfc5537" title=""Netnews Architecture and Protocols"">RFC5537</a>] is not changed by this document.
To process the authentication, the received article must contain a
Cancel-Key header field and the original article must contain a
Cancel-Lock header field. If this is not the case, the
authentication is not possible (failed).
<span class="grey">Baeuerle Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
For the authentication check, every supported <c-key> element from
the received article is processed as follows:
1. The <c-key-string> part of the <c-key> element is hashed using
the algorithm defined by its <scheme> part.
2. For each <c-lock> element with the same <scheme> in the original
article, its <c-lock-string> part is compared to the calculated
hash.
3. If a <c-lock-string> part is equal to the calculated hash, the
authentication is passed and the processing of further elements
can be aborted.
4. If no match was found and there are no more <c-key> elements to
process, the authentication failed.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Calculating the Key Data</span>
The following algorithm is RECOMMENDED to calculate the key "K" based
on a local secret <sec>.
The result of the function
K = HMAC(sec, uid+mid)
is the key "K" for an article with a Message-ID <mid> that belongs to
the User-ID (or UID) <uid> (e.g., the login name of the user). The
Hashed Message Authentication Code (HMAC) is outlined in [<a href="./rfc2104" title=""HMAC: Keyed-Hashing for Message Authentication"">RFC2104</a>].
The HMAC is computed over the data <uid+mid> (with "+" representing
the concatenation operation), using <sec> as a secret key held
locally that can be used for multiple articles. This method removes
the need for a per-article database containing the keys used for
every article.
A posting agent must add the Message-ID header field to the
proto-article itself and use the content of the header field body as
<mid> (excluding whitespace but including literal angle brackets).
The User-ID <uid> must not contain angle brackets (to ensure that
concatenation of different <uid> and <mid> elements cannot give the
same results).
A posting agent that uses a dedicated local secret <sec> for every
user should use an empty string for the <uid> part.
In general, different values for the secret <sec> must be used if
multiple <c-lock> elements are added by a single agent.
<span class="grey">Baeuerle Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
The local secret <sec> should have a length of at least the output
size of the hash function that is used by the HMAC
(256 bits / 32 octets for SHA256) and must be a cryptographically
random value [<a href="./rfc4086" title=""Randomness Requirements for Security"">RFC4086</a>].
Note that the hash algorithm used as the base for the HMAC operation
is not required to be the same as that specified by <scheme>. An
agent that verifies a Cancel-Key header field body simply checks
whether one of its <c-key> elements matches one of the <c-lock>
elements with the same <scheme> in the Cancel-Lock header field body
of the original article.
Common libraries like OpenSSL can be used for the cryptographic
operations.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Examples</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Without UID</span>
Example data for creation of a <c-lock> element with HMAC-SHA256 and
an empty string as <uid> (as recommended in <a href="#section-4">Section 4</a> for posting
agents):
Message-ID: <12345@mid.example>
mid: <12345@mid.example>
sec: ExampleSecret
K : HMAC-SHA256(sec, mid) ;mid used as data, sec as secret key
Calculation of Base64(K) using the OpenSSL command-line tools in a
POSIX shell:
$ printf "%s" "<12345@mid.example>" \
| openssl dgst -sha256 -hmac "ExampleSecret" -binary \
| openssl enc -base64
qv1VXHYiCGjkX/N1nhfYKcAeUn8bCVhrWhoKuBSnpMA=
This can be used as <c-key-string> for cancelling or superseding the
article <12345@mid.example>.
<span class="grey">Baeuerle Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
Calculation of Base64(SHA256(Base64(K))) required for <c-lock-string>
using the OpenSSL command-line tools in a POSIX shell:
$ printf "%s" "qv1VXHYiCGjkX/N1nhfYKcAeUn8bCVhrWhoKuBSnpMA=" \
| openssl dgst -sha256 -binary \
| openssl enc -base64
s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc=
Inserted into the Cancel-Lock header field body of the article
<12345@mid.example>, it looks like this:
Cancel-Lock: sha256:s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc=
Inserted into the Cancel-Key header field body of an article that
should cancel or supersede the article <12345@mid.example>, it looks
like this:
Cancel-Key: sha256:qv1VXHYiCGjkX/N1nhfYKcAeUn8bCVhrWhoKuBSnpMA=
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. With UID</span>
Example data for creation of a <c-lock> element with HMAC-SHA256 and
"JaneDoe" as <uid> (as recommended in <a href="#section-4">Section 4</a>):
Message-ID: <12345@mid.example>
uid: JaneDoe
mid: <12345@mid.example>
sec: AnotherSecret
K : HMAC-SHA256(sec, uid+mid) ;uid+mid as data, sec as secret key
Calculation of Base64(K) using the OpenSSL command-line tools in a
POSIX shell:
$ printf "%s" "JaneDoe<12345@mid.example>" \
| openssl dgst -sha256 -hmac "AnotherSecret" -binary \
| openssl enc -base64
yM0ep490Fzt83CLYYAytm3S2HasHhYG4LAeAlmuSEys=
This can be used as <c-key-string> for cancelling or superseding the
article <12345@mid.example>.
<span class="grey">Baeuerle Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
Calculation of Base64(SHA256(Base64(K))) required for <c-lock-string>
using the OpenSSL command-line tools in a POSIX shell:
$ printf "%s" "yM0ep490Fzt83CLYYAytm3S2HasHhYG4LAeAlmuSEys=" \
| openssl dgst -sha256 -binary \
| openssl enc -base64
NSBTz7BfcQFTCen+U4lQ0VS8VIlZao2b8mxD/xJaaeE=
Inserted into the Cancel-Lock header field body of the article
<12345@mid.example>, it looks like this:
Cancel-Lock: sha256:NSBTz7BfcQFTCen+U4lQ0VS8VIlZao2b8mxD/xJaaeE=
Inserted into the Cancel-Key header field body of an article that
should cancel or supersede the article <12345@mid.example>, it looks
like this:
Cancel-Key: sha256:yM0ep490Fzt83CLYYAytm3S2HasHhYG4LAeAlmuSEys=
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Other Examples</span>
Another matching pair of Cancel-Lock and Cancel-Key header fields:
Cancel-Lock: sha256:RrKLp7YCQc9T8HmgSbxwIDlnCDWsgy1awqtiDuhedRo=
Cancel-Key: sha256:sSkDke97Dh78/d+Diu1i3dQ2Fp/EMK3xE2GfEqZlvK8=
With obsolete syntax (uses a <c-key-string> with invalid/missing
Base64 padding):
Cancel-Lock: sha1:bNXHc6ohSmeHaRHHW56BIWZJt+4=
Cancel-Key: ShA1:aaaBBBcccDDDeeeFFF
Let's assume that all the examples above are associated to the same
article (e.g., created by different agents):
Cancel-Lock: sha256:s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc=
sha256:NSBTz7BfcQFTCen+U4lQ0VS8VIlZao2b8mxD/xJaaeE=
sha256:RrKLp7YCQc9T8HmgSbxwIDlnCDWsgy1awqtiDuhedRo=
sha1:bNXHc6ohSmeHaRHHW56BIWZJt+4=
Cancel-Key: sha256:qv1VXHYiCGjkX/N1nhfYKcAeUn8bCVhrWhoKuBSnpMA=
sha256:yM0ep490Fzt83CLYYAytm3S2HasHhYG4LAeAlmuSEys=
sha256:sSkDke97Dh78/d+Diu1i3dQ2Fp/EMK3xE2GfEqZlvK8=
ShA1:aaaBBBcccDDDeeeFFF
Remember that parsing for <scheme> must be case insensitive.
<span class="grey">Baeuerle Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Manual Checks</span>
Manual checks using the OpenSSL command-line tools in a POSIX shell:
$ printf "%s" "qv1VXHYiCGjkX/N1nhfYKcAeUn8bCVhrWhoKuBSnpMA=" \
| openssl dgst -sha256 -binary \
| openssl enc -base64
s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc=
$ printf "%s" "yM0ep490Fzt83CLYYAytm3S2HasHhYG4LAeAlmuSEys=" \
| openssl dgst -sha256 -binary \
| openssl enc -base64
NSBTz7BfcQFTCen+U4lQ0VS8VIlZao2b8mxD/xJaaeE=
$ printf "%s" "sSkDke97Dh78/d+Diu1i3dQ2Fp/EMK3xE2GfEqZlvK8=" \
| openssl dgst -sha256 -binary \
| openssl enc -base64
RrKLp7YCQc9T8HmgSbxwIDlnCDWsgy1awqtiDuhedRo=
$ printf "%s" "aaaBBBcccDDDeeeFFF" \
| openssl dgst -sha1 -binary \
| openssl enc -base64
bNXHc6ohSmeHaRHHW56BIWZJt+4=
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Obsolete Syntax</span>
Implementations of earlier draft versions of this specification
defined a different value for <scheme> than this version. The
following value for <scheme> is now deprecated and SHOULD NOT be
generated anymore. Serving agents SHOULD still accept it for a
transition period as long as the corresponding hash function is not
considered unsafe (see <a href="#section-7">Section 7</a> for details) or already marked as
OBSOLETE in the "Netnews Cancel-Lock Hash Algorithms" registry
(<a href="#section-8.3">Section 8.3</a>).
obs-scheme = "sha1"
It is important for backward compatibility that the deprecated value
for <scheme> is not phased out too early. Security and compatibility
concerns should be carefully weighed before choosing to remove
<obs-scheme> from existing implementations (or not implementing it in
new ones).
<span class="grey">Baeuerle Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
Earlier draft versions of this specification allowed more liberal
syntax for <c-key-string>:
obs-c-key-string = 1*base64-octet
base64-octet = ALPHA / DIGIT / "+" / "/" / "="
<obs-c-key-string> SHOULD NOT be generated but MUST be accepted.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
The authentication system defined in this document provides no
integrity-checking properties. Arbitrary modifications can be
applied to an article on its way through the network, regardless of
the presence of a Cancel-Key header field. A serving agent that
receives an article that contains a Cancel-Key header field with a
matching <c-key> element only gets the information that the
withdrawal of the target article was approved by a legitimate person
or agent.
Example: A valid <c-key> element is extracted from a cancel control
article and inserted into a forged supersede article. All servers on
the network that receive the forged supersede article before the
cancel control article should accept the forged supersede. But
because everybody can post articles with forged identity information
in the header (same as with spam email), the same result can be
achieved by sending a forged new article using no authentication
system at all.
For originator and integrity checks, a signature-based authentication
system is required (normally, OpenPGP [<a href="./rfc4880" title=""OpenPGP Message Format"">RFC4880</a>] is used for this
purpose). Both systems can be combined.
The important property of the hash function used for <scheme> is the
preimage resistance. A successful preimage attack either reveals the
real Cancel-Key (that was used to create the Cancel-Lock of the
original article) or gives a different Cancel-Key (that matches a
Cancel-Lock too). This would break the authentication system defined
in this document.
Collision resistance of the hash function used for <scheme> is less
important. Finding two <c-key> elements for the Cancel-Key header
field that match to a <c-lock> element of an arbitrary Cancel-Lock
header field is not helpful to break the authentication system
defined in this document (if a specific article is defined as the
target). Only collateral damage by arbitrary cancel or supersede is
possible.
<span class="grey">Baeuerle Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
Currently, there is no known practicable preimage and second preimage
attack against the hash function SHA1. Therefore, there is no hurry
to replace it. The reasons why this document specifies hash
functions from the SHA2 family are:
o The previous specification of the authentication system defined in
this document -- [<a href="#ref-USEFOR-CANCEL-LOCK">USEFOR-CANCEL-LOCK</a>] -- is nearly two decades
old. The client-side implementations are moving forward extremely
slowly, too (newsreaders from the last millennium are still in
heavy use). What is defined today should be strong enough for the
next two decades or so.
o The collision resistance of SHA1 is already broken; therefore, it
is now obsolete for digital signatures as used in Transport Layer
Security (TLS). It is intended that an implementation of the
authentication system defined in this document can share the same
cryptographic library functions that are used for TLS.
o It is intended that the same hash function can be used for
<scheme> and (as the base) for the HMAC that is recommended in
<a href="#section-4">Section 4</a>. See notes below for HMAC-MD5 and HMAC-SHA1.
o The SHA2 family of hash algorithms is widely supported by
cryptographic libraries. In contrast, SHA3 is currently too
recent and has not been studied enough to be considered more
secure than SHA2.
The operation HMAC(sec, uid+mid) as recommended in <a href="#section-4">Section 4</a> must be
able to protect the local secret <sec>. The Message-ID <mid> is
public (in the Message-ID header field body), and <uid> is optional.
An attacker who wants to steal/use a local secret only needs to break
this algorithm (regardless of <scheme>), because Cancel-Key header
fields are explicitly published for every request to cancel or
supersede existing articles.
Even if HMAC-MD5 and HMAC-SHA1 are not considered broken today, it is
desired to have a greater margin for security here. Breaking
<scheme> only allows the authentication of a single forged cancel or
supersede request. With <sec> in hand, it is possible to forge such
requests for all articles that contain Cancel-Lock header field
bodies with elements that were generated with this <sec> in the past.
Changing <sec> at regular intervals can be used to mitigate potential
damage.
<span class="grey">Baeuerle Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
If an agent adds or appends multiple <c-lock> elements, it must not
use the same K for them (by using different secrets (<sec>)). Adding
multiple <c-lock> elements with the same <scheme> and the same K
makes no sense (because it would result in identical <c-lock>
elements); therefore, the case of different <scheme> values is
relevant: a preimage attack on the different hash algorithms may be
easier if the attacker knows that the output of those hash algorithms
was created with the same input.
If an implementation chooses to not implement the key calculation
algorithm recommended in <a href="#section-4">Section 4</a> or to implement it with the HMAC
based on a different hash function than <scheme>, the key size used
should match the output size of the hash function used for <scheme>.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. IANA Considerations</span>
IANA has registered the following header fields in the "Permanent
Message Header Field Names" registry, in accordance with the
procedures set out in [<a href="./rfc3864" title=""Registration Procedures for Message Header Fields"">RFC3864</a>]:
Header field name: Cancel-Lock
Applicable protocol: netnews
Status: standard
Author/change controller: IETF
Specification document(s): <a href="./rfc8315">RFC 8315</a>
Header field name: Cancel-Key
Applicable protocol: netnews
Status: standard
Author/change controller: IETF
Specification document(s): <a href="./rfc8315">RFC 8315</a>
The "Netnews Cancel-Lock Hash Algorithms" registry is maintained by
IANA.
The registry is available at
<<a href="https://www.iana.org/assignments/netnews-parameters/">https://www.iana.org/assignments/netnews-parameters/</a>>.
<span class="grey">Baeuerle Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Algorithm Name Registration Procedure</span>
IANA will register new Cancel-Lock hash algorithm names on a First
Come First Served basis, as defined in <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a> [<a href="./rfc8126" title="">RFC8126</a>]. IANA has
the right to reject obviously bogus registration requests but will
perform no review of claims made in the registration form.
Registration of a Netnews Cancel-Lock hash algorithm is requested by
filling in the following template and sending it via electronic mail
to IANA at <iana@iana.org>:
Subject: Registration of Netnews Cancel-Lock hash algorithm X
Netnews Cancel-Lock hash algorithm name:
Security considerations:
Published specification (recommended):
Contact for further information:
Intended usage: (One of COMMON, LIMITED USE, or OBSOLETE)
Owner/Change controller:
Note: (Any other information that the author deems relevant may be
added here.)
Any name that conforms to the syntax of a Netnews Cancel-Lock hash
algorithm (see the definition of <scheme> in <a href="#section-2">Section 2</a>) can be used;
in particular, Netnews Cancel-Lock algorithms are named by strings
consisting of letters, digits, hyphens, and/or slashes.
Authors may seek community review by posting a specification of their
proposed algorithm as an Internet-Draft. Netnews Cancel-Lock hash
algorithms intended for widespread use should be standardized through
the normal IETF process, when appropriate.
The IESG is considered to be the owner of all Netnews Cancel-Lock
hash algorithms that are on the IETF Standards Track.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Change Control</span>
Once a Netnews Cancel-Lock hash algorithm registration has been
published by IANA, the owner may request a change to its definition.
The change request follows the same procedure as the initial
registration request.
The owner of a Netnews Cancel-Lock hash algorithm may pass
responsibility for the algorithm to another person or agency by
informing IANA; this can be done without discussion or review.
<span class="grey">Baeuerle Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
The IESG may reassign responsibility for a Netnews Cancel-Lock hash
algorithm. The most common reason for this would be to enable
changes to be made to algorithms where the owner of the registration
has died, has moved out of contact, or is otherwise unable to make
changes that are important to the community.
Netnews Cancel-Lock hash algorithm registrations MUST NOT be deleted.
Algorithms that are no longer believed appropriate for use can be
declared OBSOLETE by a change to their "intended usage" field; such
algorithms will be clearly marked in the registry published by IANA.
The IESG is considered to be the owner of all Netnews Cancel-Lock
hash algorithms that are on the IETF Standards Track.
<span class="h3"><a class="selflink" id="section-8.3" href="#section-8.3">8.3</a>. Registration of the Netnews Cancel-Lock Hash Algorithms</span>
This section gives a formal definition of the Netnews Cancel-Lock
hash algorithms as required by <a href="#section-8.1">Section 8.1</a> for the IANA registry.
Netnews Cancel-Lock hash algorithm name: md5
Security considerations: See <a href="#section-7">Section 7</a> of this document
Published specification: <a href="./rfc8315">RFC 8315</a>
Contact for further information: Author of this document
Intended usage: OBSOLETE
Owner/Change controller: IESG <iesg@ietf.org>
Note: Do not use this algorithm anymore
Netnews Cancel-Lock hash algorithm name: sha1
Security considerations: See <a href="#section-7">Section 7</a> of this document
Published specification: <a href="./rfc8315">RFC 8315</a>
Contact for further information: Author of this document
Intended usage: LIMITED USE
Owner/Change controller: IESG <iesg@ietf.org>
Note: This algorithm is intended for backward compatibility
Netnews Cancel-Lock hash algorithm name: sha224
Security considerations: See <a href="#section-7">Section 7</a> of this document
Published specification: <a href="./rfc8315">RFC 8315</a>
Contact for further information: Author of this document
Intended usage: LIMITED USE
Owner/Change controller: IESG <iesg@ietf.org>
Note: sha256 should be used instead; this is a truncated variant
<span class="grey">Baeuerle Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
Netnews Cancel-Lock hash algorithm name: sha256
Security considerations: See <a href="#section-7">Section 7</a> this document
Published specification: <a href="./rfc8315">RFC 8315</a>
Contact for further information: Author of this document
Intended usage: COMMON
Owner/Change controller: IESG <iesg@ietf.org>
Note: This algorithm is mandatory to implement
Netnews Cancel-Lock hash algorithm name: sha384
Security considerations: See <a href="#section-7">Section 7</a> of this document
Published specification: <a href="./rfc8315">RFC 8315</a>
Contact for further information: Author of this document
Intended usage: LIMITED USE
Owner/Change controller: IESG <iesg@ietf.org>
Note: sha512 should be used instead; this is a truncated variant
Netnews Cancel-Lock hash algorithm name: sha512
Security considerations: See <a href="#section-7">Section 7</a> of this document
Published specification: <a href="./rfc8315">RFC 8315</a>
Contact for further information: Author of this document
Intended usage: COMMON
Owner/Change controller: IESG <iesg@ietf.org>
Note: This algorithm is optional
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. References</span>
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC3864">RFC3864</a>] Klyne, G., Nottingham, M., and J. Mogul, "Registration
Procedures for Message Header Fields", <a href="https://www.rfc-editor.org/bcp/bcp90">BCP 90</a>, <a href="./rfc3864">RFC 3864</a>,
DOI 10.17487/RFC3864, September 2004,
<<a href="https://www.rfc-editor.org/info/rfc3864">https://www.rfc-editor.org/info/rfc3864</a>>.
[<a id="ref-RFC4086">RFC4086</a>] Eastlake 3rd, D., Schiller, J., and S. Crocker,
"Randomness Requirements for Security", <a href="https://www.rfc-editor.org/bcp/bcp106">BCP 106</a>, <a href="./rfc4086">RFC 4086</a>,
DOI 10.17487/RFC4086, June 2005,
<<a href="https://www.rfc-editor.org/info/rfc4086">https://www.rfc-editor.org/info/rfc4086</a>>.
[<a id="ref-RFC4648">RFC4648</a>] Josefsson, S., "The Base16, Base32, and Base64 Data
Encodings", <a href="./rfc4648">RFC 4648</a>, DOI 10.17487/RFC4648, October 2006,
<<a href="https://www.rfc-editor.org/info/rfc4648">https://www.rfc-editor.org/info/rfc4648</a>>.
<span class="grey">Baeuerle Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
[<a id="ref-RFC5234">RFC5234</a>] Crocker, D., Ed., and P. Overell, "Augmented BNF for
Syntax Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>,
DOI 10.17487/RFC5234, January 2008,
<<a href="https://www.rfc-editor.org/info/rfc5234">https://www.rfc-editor.org/info/rfc5234</a>>.
[<a id="ref-RFC5536">RFC5536</a>] Murchison, K., Ed., Lindsey, C., and D. Kohn, "Netnews
Article Format", <a href="./rfc5536">RFC 5536</a>, DOI 10.17487/RFC5536,
November 2009, <<a href="https://www.rfc-editor.org/info/rfc5536">https://www.rfc-editor.org/info/rfc5536</a>>.
[<a id="ref-RFC5537">RFC5537</a>] Allbery, R., Ed., and C. Lindsey, "Netnews Architecture
and Protocols", <a href="./rfc5537">RFC 5537</a>, DOI 10.17487/RFC5537,
November 2009, <<a href="https://www.rfc-editor.org/info/rfc5537">https://www.rfc-editor.org/info/rfc5537</a>>.
[<a id="ref-RFC6234">RFC6234</a>] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms
(SHA and SHA-based HMAC and HKDF)", <a href="./rfc6234">RFC 6234</a>,
DOI 10.17487/RFC6234, May 2011,
<<a href="https://www.rfc-editor.org/info/rfc6234">https://www.rfc-editor.org/info/rfc6234</a>>.
[<a id="ref-RFC8126">RFC8126</a>] Cotton, M., Leiba, B., and T. Narten, "Guidelines for
Writing an IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>,
<a href="./rfc8126">RFC 8126</a>, DOI 10.17487/RFC8126, June 2017,
<<a href="https://www.rfc-editor.org/info/rfc8126">https://www.rfc-editor.org/info/rfc8126</a>>.
[<a id="ref-RFC8174">RFC8174</a>] Leiba, B., "Ambiguity of Uppercase vs Lowercase in
<a href="./rfc2119">RFC 2119</a> Key Words", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc8174">RFC 8174</a>,
DOI 10.17487/RFC8174, May 2017,
<<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>>.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Informative References</span>
[<a id="ref-RFC1321">RFC1321</a>] Rivest, R., "The MD5 Message-Digest Algorithm", <a href="./rfc1321">RFC 1321</a>,
DOI 10.17487/RFC1321, April 1992,
<<a href="https://www.rfc-editor.org/info/rfc1321">https://www.rfc-editor.org/info/rfc1321</a>>.
[<a id="ref-RFC2104">RFC2104</a>] Krawczyk, H., Bellare, M., and R. Canetti, "HMAC:
Keyed-Hashing for Message Authentication", <a href="./rfc2104">RFC 2104</a>,
DOI 10.17487/RFC2104, February 1997,
<<a href="https://www.rfc-editor.org/info/rfc2104">https://www.rfc-editor.org/info/rfc2104</a>>.
[<a id="ref-RFC3174">RFC3174</a>] Eastlake 3rd, D. and P. Jones, "US Secure Hash Algorithm 1
(SHA1)", <a href="./rfc3174">RFC 3174</a>, DOI 10.17487/RFC3174, September 2001,
<<a href="https://www.rfc-editor.org/info/rfc3174">https://www.rfc-editor.org/info/rfc3174</a>>.
[<a id="ref-RFC4880">RFC4880</a>] Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R.
Thayer, "OpenPGP Message Format", <a href="./rfc4880">RFC 4880</a>,
DOI 10.17487/RFC4880, November 2007,
<<a href="https://www.rfc-editor.org/info/rfc4880">https://www.rfc-editor.org/info/rfc4880</a>>.
<span class="grey">Baeuerle Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc8315">RFC 8315</a> Cancel-Locks February 2018</span>
[<a id="ref-RFC6151">RFC6151</a>] Turner, S. and L. Chen, "Updated Security Considerations
for the MD5 Message-Digest and the HMAC-MD5 Algorithms",
<a href="./rfc6151">RFC 6151</a>, DOI 10.17487/RFC6151, March 2011,
<<a href="https://www.rfc-editor.org/info/rfc6151">https://www.rfc-editor.org/info/rfc6151</a>>.
[<a id="ref-SHA">SHA</a>] National Institute of Standards and Technology, "Secure
Hash Standard (SHS)", FIPS 180-4,
DOI 10.6028/NIST.FIPS.180-4, August 2015,
<<a href="http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf">http://nvlpubs.nist.gov/nistpubs/FIPS/</a>
<a href="http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf">NIST.FIPS.180-4.pdf</a>>.
[<a id="ref-USEFOR-CANCEL-LOCK">USEFOR-CANCEL-LOCK</a>]
Lyall, S., <a style="text-decoration: none" href='https://www.google.com/search?sitesearch=datatracker.ietf.org%2Fdoc%2Fhtml%2F&q=inurl:draft-+%22Cancel-Locks+in+Usenet+articles.%22'>"Cancel-Locks in Usenet articles."</a>, Work in
Progress, <a href="./draft-ietf-usefor-cancel-lock-01">draft-ietf-usefor-cancel-lock-01</a>, November 1998.
Acknowledgements
The author acknowledges the original author of the Cancel-Lock
authentication system, as documented in [<a href="#ref-USEFOR-CANCEL-LOCK">USEFOR-CANCEL-LOCK</a>]: Simon
Lyall. Simon wrote the original document and approved the usage of
his work for this document. This document is mostly based on his
work. (It was originally intended as revision 02 but was renamed
because the USEFOR IETF WG is now closed.)
The author would like to thank the following individuals for
contributing their ideas and reviewing this specification: Russ
Allbery, Urs Janssen, Richard Kettlewell, Marcel Logen, Holger
Marzen, Dennis Preiser, and Emil Schuster. Thanks also to Peter
Faust and Alfred Peters for providing statistical data about the
algorithms currently in use.
Special thanks to the Document Shepherd, Julien Elie; and to the
responsible Area Director, Alexey Melnikov.
Author's Address
Michael Baeuerle
STZ Elektronik
Hofener Weg 33C
Remseck, Baden-Wuerttemberg 71686
Germany
Fax: +49 7146 999061
Email: michael.baeuerle@stz-e.de
Baeuerle Standards Track [Page 20]
</pre>
|