home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_j_p / draft-ietf-otp-ver-01.txt < prev    next >
Text File  |  1997-01-16  |  6KB  |  187 lines

  1.  
  2. INTERNET DRAFT                                     Philip J. Nesser II
  3. draft-ietf-otp-ver-01.txt                   Nesser & Nesser Consulting
  4. January, 1997
  5.  
  6.             OTP Verification Examples
  7.  
  8. STATUS OF THIS MEMO
  9.  
  10.   This document is an Internet Draft. Internet Drafts are working
  11.   documents of the Internet Engineering Task Force (IETF), its Areas
  12.   and Working Groups. Note that other groups may also distribute
  13.   working documents as Internet Drafts.
  14.  
  15.   Internet Drafts are draft documents valid for a maximum of six
  16.   months. Drafts may be updated, replaced, or obsoleted by other
  17.   documents at any time. It is not appropriate to use Internet Drafts
  18.   as reference material or to cite them other than as a "working
  19.   draft" or "work in progress."
  20.  
  21.   To learn the current status of any Internet Draft, please check the  
  22.   1id-abstracts.txt listing contained in the Internet-Drafts Shadow
  23.   Directories on ftp.is.co.za (Africa), ds.internic.net (US East
  24.   Coast), nic.nordu.net (Europe), ftp.isi.com (US West Coast), or
  25.   munnari.oz.au (Pacific Rim).
  26.  
  27.   The distribution of this Internet Draft is unlimited. It is filed as
  28.   <draft-ietf-otp-ver-01.txt> and it expires on May 21, 1997.
  29.  
  30. 1.0 ABSTRACT
  31.  
  32. This document provides a series of inputs and correct outputs for all
  33. three of the defined OTP cryptographic hashes, specifically MD4, MD5,
  34. and SHA1.  This document is intended to be used by developers for
  35. interoperability checks when creating generators or servers.  Output
  36. is provided in both hexadecimal notation and the six word encoding
  37. documented in Appendix C.
  38.  
  39. 2.0  GENERAL CHECKS
  40.  
  41. Note that the output given for these checks is not intended to be
  42. taken literally, but describes the type of action that should be taken.
  43.  
  44. 2.1 Pass Phrase Length
  45.  
  46.  Input: 
  47.    Pass Phrase: Too_short
  48.    Seed: iamvalid
  49.    Count: 99
  50.    Hash: ANY
  51.  Output:
  52.    ERROR:  Pass Phrase too short
  53.  
  54.  Input:
  55.    Pass Phrase:
  56.      1234567890123456789012345678901234567890123456789012345678901234
  57.    Seed: iamvalid
  58.    Count: 99
  59.    Hash: ANY
  60.  Output:
  61.    WARNING: Pass Phrase longer than the recommended maximum length of 63
  62.  
  63. 2.2  Seed Values
  64.  
  65.  Input:
  66.    Pass Phrase:  A_Valid_Pass_Phrase
  67.    Seed: Length_Okay
  68.    Count: 99
  69.    Hash: ANY
  70.  Output:
  71.    ERROR: Seed must be purely alphanumeric
  72.  
  73.  Input:
  74.    Pass Phrase:  A_Valid_Pass_Phrase
  75.    Seed: LengthOfSeventeen
  76.    Count: 99
  77.    Hash: ANY
  78.  Output:
  79.    ERROR: Seed must be between 1 and 16 characters in length
  80.  
  81.  Input:
  82.    Pass Phrase:  A_Valid_Pass_Phrase
  83.    Seed: A Seed
  84.    Count: 99
  85.    Hash: ANY
  86.  Output:
  87.    ERROR: Seed must not contain any spaces
  88.  
  89. 2.3 Parity Calculations
  90.  
  91.  Input:
  92.    Pass Phrase: A_Valid_Pass_Phrase
  93.    Seed: AValidSeed
  94.    Count: 99
  95.    Hash: MD5
  96.  Output:
  97.    Hex: 85c43ee03857765b
  98.    Six Word(CORRECT):          FOWL KID MASH DEAD DUAL OAF 
  99.    Six Word(INCORRECT PARITY): FOWL KID MASH DEAD DUAL NUT 
  100.    Six Word(INCORRECT PARITY): FOWL KID MASH DEAD DUAL O 
  101.    Six Word(INCORRECT PARITY): FOWL KID MASH DEAD DUAL OAK 
  102.  
  103.  
  104. 3.0 MD4 Encodings
  105.  
  106. Pass Phrase    Seed    Cnt Hex            Six Word Format
  107. ========================================================================
  108. This is a test. TeSt     0  D185 4218 EBBB 0B51 ROME MUG FRED SCAN LIVE LACE
  109. This is a test. TeSt     1  6347 3EF0 1CD0 B444 CARD SAD MINI RYE COL KIN
  110. This is a test. TeSt    99  C5E6 1277 6E6C 237A MART AVE BABE TEET BARR FLUB
  111. AbCdEfGhIjK    alpha1     0  5007 6F47 EB1A DE4E AWAY SEN ROOK SALT LICE MAP
  112. AbCdEfGhIjK    alpha1     1  65D2 0D19 49B5 F7AB CHEW GRIM WU HANG BUCK SAID
  113. AbCdEfGhIjK    alpha1    99  D150 C82C CE6F 62D1 ROIL FREE COG HUNK WAIT COCA
  114. OTP's are good    correct  0  849C 79D4 F6F5 5388 FOOL STEM DONE TOOL BECK NILE
  115. OTP's are good    correct  1  8C09 92FB 2508 47B1 GIST AMOS MOOT AIDS FOOD SEEM
  116. OTP's are good    correct 99  3F3B F4B4 145F D74B TAG SLOW NOV MIN WOOL KENO
  117.  
  118.  
  119.  
  120. 4.0 MD5 Encodings
  121.  
  122. Pass Phrase    Seed    Cnt Hex            Six Word Format
  123. ============================================================================
  124. This is a test. TeSt     0  9E87 6134 D904 99DD INCH SEA ANNE LONG AHEM TOUR
  125. This is a test. TeSt     1  7965 E054 36F5 029F EASE OIL FUM CURE AWRY AVIS
  126. This is a test. TeSt    99  50FE 1962 C496 5880 BAIL TUFT BITS GANG CHEF THY
  127. AbCdEfGhIjK    alpha1     0  8706 6DD9 644B F206 FULL PEW DOWN ONCE MORT ARC
  128. AbCdEfGhIjK    alpha1     1  7CD3 4C10 40AD D14B FACT HOOF AT FIST SITE KENT
  129. AbCdEfGhIjK    alpha1    99  5AA3 7A81 F212 146C BODE HOP JAKE STOW JUT RAP
  130. OTP's are good    correct  0  F205 7539 43DE 4CF9 ULAN NEW ARMY FUSE SUIT EYED
  131. OTP's are good    correct  1  DDCD AC95 6F23 4937 SKIM CULT LOB SLAM POE HOWL
  132. OTP's are good    correct 99  B203 E28F A525 BE47 LONG IVY JULY AJAR BOND LEE
  133.  
  134.  
  135. 5.0 SHA1 Encodings
  136.  
  137. Pass Phrase    Seed    Cnt Hex            Six Word Format
  138. =============================================================================
  139. This is a test. TeSt     0  BB9E 6AE1 979D 8FF4 MILT VARY MAST OK SEES WENT
  140. This is a test. TeSt     1  63D9 3663 9734 385B CART OTTO HIVE ODE VAT NUT
  141. This is a test. TeSt    99  87FE C776 8B73 CCF9 GAFF WAIT SKID GIG SKY EYED
  142. AbCdEfGhIjK    alpha1     0  7B4C 5831 CCED CD36 LEST OR HEEL SCOT ROB SUIT
  143. AbCdEfGhIjK    alpha1     1  D07C E229 B5CF 119B RITE TAKE GELD COST TUNE RECK
  144. AbCdEfGhIjK    alpha1    99  27BC 7103 5AAF 3DC6 MAY STAR TIN LYON VEDA STAN
  145. OTP's are good    correct  0  D51F 3E99 BF8E 6F0B RUST WELT KICK FELL TAIL FRAU
  146. OTP's are good    correct  1  82AE B52D 9437 74E4 FLIT DOSE ALSO MEW DRUM DEFY
  147. OTP's are good    correct 99  4F29 6A74 FE15 67EC AURA ALOE HURL WING BERG WAIT
  148.  
  149.  
  150.  
  151. 6.0 Security Considerations
  152.  
  153. The whole concept of OTP's are part of a security system, however this
  154. document does not deal with any security issues.
  155.  
  156.  
  157. 7.0 References
  158.  
  159.   [1]  Haller, N., "The S/KEY One-Time Password System", RFC 1760,
  160.        Bellcore, February 1995.
  161.  
  162.   [2]  Haller, N., Metz, C., "A One-Time Password System", RFC 1938,
  163.        May 1996.
  164.  
  165.   [3]  Rivest, R., "The MD4 Message-Digest Algorithm, RFC 1320",
  166.        MIT and RSA Data Security, Inc., April 1992.
  167.  
  168.   [4]  Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321,
  169.        MIT and RSA Data Security, Inc., April 1992.
  170.  
  171.   [5]  National Institute of Standards and Technology (NIST),
  172.        "Announcing the Secure Hash Standard", FIPS 180-1, U.S.
  173.        Department of Commerce, April 1995.
  174.  
  175.  
  176. 8.0  Author's Address
  177.  
  178.   Philip J. Nesser II
  179.   Nesser & Nesser Consulting
  180.   13501 100th Ave NE
  181.   Suite 5202
  182.   Kirkland, WA 98034
  183.  
  184.   Phone: +1 206 481 4303
  185.   EMail: pjnesser@martigny.ai.mit.edu
  186.  
  187.