summaryrefslogtreecommitdiff
path: root/third_party/heimdal/doc/standardisation/draft-ietf-kitten-gssapi-v3-guide-to-00.txt
blob: 98da42e876219c17712783b4027e8d3b92cd4710 (plain)
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
1118
1119
1120
1121


NETWORK WORKING GROUP                                        N. Williams
Internet-Draft                                                       Sun
Expires: July 26, 2005                                  January 25, 2005


                         Guide to the GSS-APIv3
              draft-ietf-kitten-gssapi-v3-guide-to-00.txt

Status of this Memo

   By submitting this Internet-Draft, I certify that any applicable
   patent or other IPR claims of which I am aware have been disclosed,
   and any of which I become aware will be disclosed, in accordance with
   RFC 3668.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as
   Internet-Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt.

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   This Internet-Draft will expire on July 26, 2005.

Copyright Notice

   Copyright (C) The Internet Society (2005).  All Rights Reserved.

Abstract

   Extensions to the GSS-APIv2 are needed for a number of reasons.  This
   documents describes the extensions being proposed, the resons,
   possible future directions, and portability, IANA and security
   considerations.  This document does not define any protocol or
   interface and is purely informational.








Williams                 Expires July 26, 2005                  [Page 1]

Internet-Draft           Guide to the GSS-APIv3             January 2005


Table of Contents

   1.  Conventions used in this document  . . . . . . . . . . . . . .  3
   2.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3.  A Pseudo-Mechanism OID for the GSS-API Itself  . . . . . . . .  5
   4.  Mechanism Attribute Inquiry Facilities . . . . . . . . . . . .  6
   5.  Security Context Extensibility Extensions  . . . . . . . . . .  7
   6.  Credential Extensibility Extensions  . . . . . . . . . . . . .  8
   7.  Credential Export/Import . . . . . . . . . . . . . . . . . . .  9
   8.  GSS_Store_cred() . . . . . . . . . . . . . . . . . . . . . . . 10
   9.  Pseudo-Mechanism Stacking  . . . . . . . . . . . . . . . . . . 11
   10. Naming Extensions  . . . . . . . . . . . . . . . . . . . . . . 12
   11. Additional Name Types  . . . . . . . . . . . . . . . . . . . . 13
   12. GSS_Pseudo_random()  . . . . . . . . . . . . . . . . . . . . . 14
   13. Channel Bindings Specifications  . . . . . . . . . . . . . . . 15
   14. Semantic and Miscallaneous Extensions  . . . . . . . . . . . . 16
   15. Portability Considerations . . . . . . . . . . . . . . . . . . 17
   16. IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 18
   17. Security Considerations  . . . . . . . . . . . . . . . . . . . 19
   18. Normative  . . . . . . . . . . . . . . . . . . . . . . . . . . 19
       Author's Address . . . . . . . . . . . . . . . . . . . . . . . 19
       Intellectual Property and Copyright Statements . . . . . . . . 20





























Williams                 Expires July 26, 2005                  [Page 2]

Internet-Draft           Guide to the GSS-APIv3             January 2005


1.  Conventions used in this document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].














































Williams                 Expires July 26, 2005                  [Page 3]

Internet-Draft           Guide to the GSS-APIv3             January 2005


2.  Introduction

   [NOTE: the references section is current fairly empty; the various
   KITTEN WG work items will be added to this I-D in a subsequent
   revision.]

   Since the advent of the GSS-APIv2 it has come to be used in a number
   of Internet (and other) protocols and a number of implementations
   exist.  In that time implementors and protocol designers have come to
   understand both, the GSS-API's strengths, and its shortcommings; we
   believe now that a number of extensions to the GSS-API are needed.
   Here these proposed extensions, forming what we may call the GSS-API
   version 3, are described at a high-level.;

   Some of these extensions are intended to facilitate further
   extensions, so that further major revisions to the GSS-API may not be
   necessary.  Others are intended to fill voids in the the GSS-APIv2.

   The extensions being proposed are:
      A pseudo-mechanism OID for the GSS-API itself
      Mechanism attribute inquiry facilities
      Security context extensibility extensions
      Credential extensibility extensions
      Credential export/import
      GSS_Store_cred(), for making delegated credentials available for
      acquisition
      Pseudo-mechanism stacking
      Naming extensions, to facilitate authorization by identifiers
      other than names
      Additional name types, specifically domain-based naming
      A pseudo-random function interface
      Channel bindings specifications
      Semantic extensions relating to thread- and/or fork-safety
      [Have I missed anything?  I have a feeling I have.  Re-keying?]
      ...

   Additionally, because we foresee future minor extensions, including,
   specifically, extensions which may impact the various namespaces
   associated with APIs (symbol names, constant values, class names,
   etc...) we also propose the establishment of IANA registries for
   these namespaces.










Williams                 Expires July 26, 2005                  [Page 4]

Internet-Draft           Guide to the GSS-APIv3             January 2005


3.  A Pseudo-Mechanism OID for the GSS-API Itself

   A mechanism OID is assigned to identify and refer to the GSS-API
   iself.  This is necessary to enable the use of extended inquiry
   interfaces to inquire about features of a GSS-API implementation
   specifically, apart from actual mechanisms.

   But also, this OID is needed for better error handling, so that minor
   status codes produced in generic contexts that lack a mechanism OID
   can be distinguished from minor status codes for a "default"
   mechanism and properly displayed.








































Williams                 Expires July 26, 2005                  [Page 5]

Internet-Draft           Guide to the GSS-APIv3             January 2005


4.  Mechanism Attribute Inquiry Facilities

   In the course of designing a pseudo-mechanism stacking facility, as
   well as while considering the impact of all of these extensions on
   portability, a need for interfaces through which to discover or
   inquire by features provided by GSS-API mechanisms was discovered.

   The proposed mechanism attribute inquiry interfaces consist of:
      GSS_Inquire_mech_attrs_for_mech()
      GSS_Indicate_mechs_by_mech_attrs()
      GSS_Display_mech_attr()

   These extensions facilitate portability by allowing GSS-APIv3
   applications to discover the features provided by a given
   implementation of the GSS-API or any mechanisms.  These extensions
   are also useful in facilitating stackable pseudo-mechanisms.



































Williams                 Expires July 26, 2005                  [Page 6]

Internet-Draft           Guide to the GSS-APIv3             January 2005


5.  Security Context Extensibility Extensions

   In order to facilitate future security context options we introduce a
   GSS_Create_sec_context() interface that creates a security context
   object, for use with extensions and with GSS_Init_sec_context(),
   GSS_Accept_sec_context(), and GSS_Inquire_sec_context().  Such
   security contexts are in a non-established state until they are
   established through the use of GSS_Init_sec_context() or
   GSS_Accept_sec_context().










































Williams                 Expires July 26, 2005                  [Page 7]

Internet-Draft           Guide to the GSS-APIv3             January 2005


6.  Credential Extensibility Extensions

   In order to facilitate future extensions to GSS credentials we
   introduce a GSS_Create_credential(), similar to
   GSS_Create_sec_context(), interface that creates an "empty"
   credential.













































Williams                 Expires July 26, 2005                  [Page 8]

Internet-Draft           Guide to the GSS-APIv3             January 2005


7.  Credential Export/Import

   To allow for passing of credentials between different "session
   contexts," between different hosts, or for storage of post-dated
   credentials, we introduce a credential export/import facility, much
   like the security context export/import facility of the GSS-APIv2.

   Together with credential extensibility and other extensions this
   facility may allow for:
      Credential delegation at any time
      Post-dated credentials, and storage of the such for subsequent
      use.
      ...?






































Williams                 Expires July 26, 2005                  [Page 9]

Internet-Draft           Guide to the GSS-APIv3             January 2005


8.  GSS_Store_cred()

   This extension fills a void in the GSS-APIv2 where delegated
   credentials could not be used except in the context of the same
   process that received them.  With this extension acceptor
   applications can now make delegated credentials available for use,
   with GSS_Acquire_cred() et.  al., in other process contexts.

   [Manipulation of "credential stores" is (may be?) out of scope for
   this document.]









































Williams                 Expires July 26, 2005                 [Page 10]

Internet-Draft           Guide to the GSS-APIv3             January 2005


9.  Pseudo-Mechanism Stacking

   A number of pseudo-mechanisms are being proposed which are designed
   to "stack" atop other mechanisms.  The possiblities are many,
   including: a compression mechanism, a perfect forward security
   mechanism, an many others.

   The GSS-APIv2 only had concrete mechanisms and one pseudo-mechanism
   (SPNEGO) available.  With this proposal the mechanism taxonomy is
   quite expanded:
      Concrete mechanisms (e.g., the Kerberos V mechanism)
      Composite mechanisms (a concrete mechanism composed with one or
      more stackable pseudo-mechanisms)
      Stackable pseudo-mechanisms
      Other pseudo-mechanisms (e.g., SPNEGO, the GSS-API itself)

   Although composed mechanisms may be made available for use by
   GSS-APIv2 applications without any further extensions, use of
   stackable pseudo-mechanisms can complicate mechanism negotiation;
   additionally, discovery of mechanisms appropriate for use in one or
   another context would require hard-coding information about them in
   GSS-APIv2 applications.  Extensions to the GSS-APIv2 could facilitate
   use of composite.

   The mechanism attribute inquiry facilities, together with the
   forllowing additional interfaces, provide for a complete interface to
   mechanism composition and for managing the complexity of mechanism
   negotiation:
      GSS_Compose_oid()
      GSS_Decompose_oid()
      GSS_Release_oid()
      GSS_Indicate_negotiable_mechs()
      GSS_Negotiate_mechs()


















Williams                 Expires July 26, 2005                 [Page 11]

Internet-Draft           Guide to the GSS-APIv3             January 2005


10.  Naming Extensions

   Some applications make use of exported names, as produced by
   GSS_Export_name(), to create/manage/evaluate access control lists; we
   call this name-based authorization.

   Exported names typically encode names that are meant for display to
   humans, not internal identifiers.

   In practice this creates a number of problems.  E.g., the referential
   integrity of such access control lists is hard to maintain as
   principals are added, removed, renamed or old principal names reused.

   Additionally, some mechanisms may lack a notion of a "canonical" name
   for some or all of their principals.  Such mechanisms cannot be used
   by applications that rely on name-based authorization.

   <Describe the proposed extensions in this area.>

































Williams                 Expires July 26, 2005                 [Page 12]

Internet-Draft           Guide to the GSS-APIv3             January 2005


11.  Additional Name Types

   <Decribe domain-based names and the need for them.>
















































Williams                 Expires July 26, 2005                 [Page 13]

Internet-Draft           Guide to the GSS-APIv3             January 2005


12.  GSS_Pseudo_random()

   <Decribe GSS_Pseudo_random() and the need for it.>
















































Williams                 Expires July 26, 2005                 [Page 14]

Internet-Draft           Guide to the GSS-APIv3             January 2005


13.  Channel Bindings Specifications


















































Williams                 Expires July 26, 2005                 [Page 15]

Internet-Draft           Guide to the GSS-APIv3             January 2005


14.  Semantic and Miscallaneous Extensions

   The GSS-APIv2 specifications say nothing about the thread-safety,
   much less the fork-safety, of the GSS-API.  Thread-safety and
   fork-safety are, after all, platform- and/or language-specific
   matters.  But as support for multi-threading spreads the matter of
   thread-safety cannot be avoided.  The matter of fork-safety is
   specific to platforms that provide a "fork()" function, or similar.

   <describe the GSS-APIv3's thread-safety requirements>

   <reference the portability considerations section>







































Williams                 Expires July 26, 2005                 [Page 16]

Internet-Draft           Guide to the GSS-APIv3             January 2005


15.  Portability Considerations

   The potential for additional generic, mechanism-specific, language
   binding-specific and, most importantly, semantic extensions to the
   GSS-APIv3 may create application portability problems.  The mechanism
   attribute inquiry facilities of the GSS-APIv3 and the
   pseudo-mechanism OID for the GSS-API itself double as a run-time
   facility for discovery of feature availability.  Run-time feature
   discovery facilities, in turn, can be used at application build-time
   as well by building small applications to display the available
   features.

   <...>






































Williams                 Expires July 26, 2005                 [Page 17]

Internet-Draft           Guide to the GSS-APIv3             January 2005


16.  IANA Considerations

   <Describe the namespace issues associated with future minor
   extensions to the GSS-APIv3 and the IANA registries to be created to
   cope with them.>














































Williams                 Expires July 26, 2005                 [Page 18]

Internet-Draft           Guide to the GSS-APIv3             January 2005


17.  Security Considerations

   <...>

18  Normative

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC2743]  Linn, J., "Generic Security Service Application Program
              Interface Version 2, Update 1", RFC 2743, January 2000.

   [RFC2744]  Wray, J., "Generic Security Service API Version 2 :
              C-bindings", RFC 2744, January 2000.


Author's Address

   Nicolas Williams
   Sun Microsystems
   5300 Riata Trace Ct
   Austin, TX  78727
   US

   EMail: Nicolas.Williams@sun.com


























Williams                 Expires July 26, 2005                 [Page 19]

Internet-Draft           Guide to the GSS-APIv3             January 2005


Intellectual Property Statement

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.


Disclaimer of Validity

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Copyright Statement

   Copyright (C) The Internet Society (2005).  This document is subject
   to the rights, licenses and restrictions contained in BCP 78, and
   except as set forth therein, the authors retain all their rights.


Acknowledgment

   Funding for the RFC Editor function is currently provided by the
   Internet Society.




Williams                 Expires July 26, 2005                 [Page 20]