Annotation of pgp/rsaref/doc/scripts.txt, revision 1.1

1.1     ! root        1:                           RDEMO Test Scripts
        !             2: 
        !             3:                            RSA Laboratories
        !             4:                             March 21, 1994
        !             5: 
        !             6:                              Version 2.0
        !             7: 
        !             8:     Copyright (C) 1991-4 RSA Laboratories, a division of RSA Data
        !             9:                  Security, Inc. All rights reserved.
        !            10: 
        !            11: 
        !            12: RDEMO comes with several test scripts that test RSAREF cryptographic
        !            13: operations of various key sizes.
        !            14: 
        !            15: The test scripts are: '508.in', '512a.in', '512b.in', '767.in' and
        !            16: '1024.in'. The scripts consist of RDEMO commands. To exercise a
        !            17: script, redirect RDEMO's input to the script.  For example, on a UNIX
        !            18: or DOS system you would run the command
        !            19: 
        !            20:      rdemo < 508.in
        !            21: 
        !            22: to exercise the test script '508.in'. Use the '-s' flag to suppress
        !            23: RDEMO's prompts.
        !            24: 
        !            25: The scripts work with a number of input files. Each script also
        !            26: produces output files that you can compare against reference files
        !            27: supplied with RDEMO. Both the scripts and the reference files are
        !            28: stored in the 'rdemo/scripts' subdirectory.
        !            29: 
        !            30: See the file 'rdemo.txt' in the 'doc' subdirectory for more
        !            31: information on the demonstration program.
        !            32: 
        !            33: 
        !            34: '508.in' script
        !            35: 
        !            36:      1.   Generates a 508-bit RSA key pair, writing the key to
        !            37:           '508.key'.
        !            38: 
        !            39:      2.   Signs 'file' with private key and MD5 message-digest
        !            40:           algorithm, writing signature to '508-5.sig'.
        !            41:  
        !            42:      3.   Verifies signature.
        !            43: 
        !            44:      4.   Seals 'file' in envelope with public key and DES-CBC
        !            45:           data encryption algorithm, writing encrypted file to
        !            46:           '508-1.env', encrypted data encryption key to '508-1.key',
        !            47:           and initialization vector to '508-1.iv'.
        !            48: 
        !            49:      5.   Opens envelope and displays result: should be "Envelope
        !            50:           opened."
        !            51: 
        !            52: '512a.in' script
        !            53: 
        !            54:      1.   Signs 'file' with first built-in private key and MD2
        !            55:           message-digest algorithm, writing signature to '512a2.sig'.
        !            56: 
        !            57:      2.   Verifies signature.
        !            58: 
        !            59:      3.   Repeats (1) and (2) with MD5. Signature in '512a5.sig'.
        !            60: 
        !            61:      4.   Seals 'file' in envelope with first built-in public key and
        !            62:           DES-CBC data encryption algorithm, writing encrypted file to
        !            63:           '512a1.env', encrypted data encryption key to '512a1.key',
        !            64:           and initialization vector to '512a1.iv'.
        !            65: 
        !            66:      5.   Opens envelope and displays result.
        !            67: 
        !            68:      6.   Repeats (4) and (5) with DESX-CBC, DES-EDE2-CBC, and
        !            69:           DES-EDE3-CBC. Files: '512ax.*', '512a2.*', '512a3.*'.
        !            70: 
        !            71:      7.   Repeats (3-5) on 'bigfile'. Result should be "Envelope
        !            72:           opened \ This is a big file", repeated a few times.
        !            73: 
        !            74: '512b.in'
        !            75: 
        !            76:      Same as '508.in', except that '508' becomes '512b', and second
        !            77:      built-in key pair is used, rather than generating a new one.
        !            78: 
        !            79: '767.in' and '1024.in'
        !            80: 
        !            81:      Same as '508.in', except that '508' becomes '767' or '1024';
        !            82:      new key pairs are generated in both cases.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.