Changes between Version 5 and Version 6 of CredPrinterDocs


Ignore:
Timestamp:
Oct 6, 2011 11:00:34 AM (9 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CredPrinterDocs

    v5 v6  
    103103For data that does not represent either an identity or an attribute, the error line is printed.  The code is a [source:doc/API libabac return code].  The errors in this example come from the private key files and README files in that example directory.
    104104
     105More verbose output that breaks down the contents of the credentials in detail is generated by using {{{--verbose}}}:
     106{{{
     107$ cred_client.py --verbose examples/experiment_create/*
     108}}}
     109
     110produces:
     111{{{
     112000: identity 9b47d3669b99a4ce1d3a0055be002ea6a580041a Acme
     113001: attribute 9b47d3669b99a4ce1d3a0055be002ea6a580041a.experiment_create <- 9b47d3669b99a4ce1d3a0055be002ea6a580041a.partner.experiment_create Acme.experiment_create <- Acme.partner.experiment_create
     114        head:
     115                pretty_principal: Acme
     116                principal: 9b47d3669b99a4ce1d3a0055be002ea6a580041a
     117                role: experiment_create
     118        tail:
     119                pretty_principal: Acme
     120                principal: 9b47d3669b99a4ce1d3a0055be002ea6a580041a
     121                role: experiment_create
     122                linked_role: 9b47d3669b99a4ce1d3a0055be002ea6a580041a.partner
     123002: attribute 9b47d3669b99a4ce1d3a0055be002ea6a580041a.partner <- f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7 Acme.partner <- Globotron
     124        head:
     125                pretty_principal: Acme
     126                principal: 9b47d3669b99a4ce1d3a0055be002ea6a580041a
     127                role: partner
     128        tail:
     129                pretty_principal: Globotron
     130                principal: f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7
     131003: Error, code -1
     132004: identity 001f3599bafb755e97855b9ee0b3487830a4ecc7 Alice
     133005: attribute 001f3599bafb755e97855b9ee0b3487830a4ecc7.power_user <- b9cdabc274fa38390c26829efed68eaa527b8d00 Alice.power_user <- Bob
     134        head:
     135                pretty_principal: Alice
     136                principal: 001f3599bafb755e97855b9ee0b3487830a4ecc7
     137                role: power_user
     138        tail:
     139                pretty_principal: Bob
     140                principal: b9cdabc274fa38390c26829efed68eaa527b8d00
     141006: Error, code -1
     142007: identity b9cdabc274fa38390c26829efed68eaa527b8d00 Bob
     143008: Error, code -1
     144009: identity f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7 Globotron
     145010: attribute f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7.admin <- 001f3599bafb755e97855b9ee0b3487830a4ecc7 Globotron.admin <- Alice
     146        head:
     147                pretty_principal: Globotron
     148                principal: f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7
     149                role: admin
     150        tail:
     151                pretty_principal: Alice
     152                principal: 001f3599bafb755e97855b9ee0b3487830a4ecc7
     153011: attribute f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7.experiment_create <- f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7.admin.power_user Globotron.experiment_create <- Globotron.admin.power_user
     154        head:
     155                pretty_principal: Globotron
     156                principal: f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7
     157                role: experiment_create
     158        tail:
     159                pretty_principal: Globotron
     160                principal: f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7
     161                role: power_user
     162                linked_role: f923e9f69d33b52d8bbdfd19f2ec89dde7beedd7.admin
     163012: Error, code -1
     164013: Error, code -1
     165
     166}}}
     167
    105168
    106169== The Interface ==