Changeset 34 for trunk/standards

Show
Ignore:
Timestamp:
01/07/08 05:24:40 (4 years ago)
Author:
ocmathew
Message:

Add 'cipher = ENCRYPTION-ALG' to the definition of the DSDB Certificate so it is fully self sufficient.
Change the definition of the containers to use (pP, sP) as the public and private keys for the minting key and (pD, sD) as the keypair for the DSDB certificate.
Clean up tiny bits of the protocol

Location:
trunk/standards
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/standards/protocol-containers.txt

    r28 r34  
    6464Mint Key = 
    6565{ 
    66     key identifier      = base64(hash(p)) 
     66    key identifier      = base64(hash(pP)) 
    6767    currency identifier = http://opencent.net/OpenCent 
    6868    denomination        = denomination 
     
    7070    key_not_after       = TIME(...) 
    7171    coin_not_after      = TIME(...) 
    72     public key          = base64(p) 
     72    public key          = base64(pP) 
    7373 
    7474    issuer              = hash(pM) 
     
    7979DSDB Key =  
    8080{ 
    81     key identifier      = base64(hash(p)) 
     81    key identifier      = base64(hash(pD)) 
    8282    not_before          = TIME(...) 
    8383    not_after           = TIME(...) 
    84     public key          = base64(p) 
     84    cipher              = ENCRYPT-ALG 
     85    public key          = base64(pD) 
    8586 
    8687    issuer              = Hash(pM) 
     
    115116    serial                  = base64(128bit random number) 
    116117     
    117     signature               = base64(encrypt(ALG,priv-key-of-signing-key, content part)) 
     118    signature               = base64(sig(pP, content part)) 
    118119} 
    119120 
     
    125126    denomination            = denomination 
    126127    key identifier          = key_id(signing key) 
    127     serial                  = base64(encrypt(ALG,pub-key-of-DSDB, serial)) 
     128    serial                  = base64(encrypt(pD, serial)) 
    128129} 
  • trunk/standards/protocol.txt

    r32 r34  
    2929* issuer publishes CDD at "currency identifier" URL 
    3030 
    31 * mint (regularily) creates keypairs (p,s) for all denominations and id(p). 
     31* mint (regularily) creates keypairs (pP,sP) for all denominations and id(p). 
    3232  Master key holder generates keys certificate 
    3333 
    3434  { 
    35     key identifier      = base64(id(p)) 
     35    key identifier      = base64(id(pP)) 
    3636    currency identifier = http://opencent.net/OpenCent 
    3737    denomination        = denomination 
     
    3939    key_not_after       = TIME(...) 
    4040    coin_not_after      = TIME(...) 
    41     public key          = base64(p) 
     41    public key          = base64(pP) 
    4242 
    4343    issuer              = Hash(pM) 
     
    5151  * CDD? 
    5252 
    53 * issuer creates DSDB keypair (p,s) 
     53* issuer creates DSDB keypair (pD,sD) 
    5454 
    5555  { 
    56     key identifier   = base64(id(p)) 
     56    key identifier   = base64(id(pD)) 
    5757    not_before       = TIME(...) 
    5858    not_after        = TIME(...) 
    59     public key       = base64(p) 
     59    cipher           = ENCRYPTION-ALG 
     60    public key       = base64(pD) 
    6061 
    6162    issuer           = Hash(pM)