Created
July 25, 2019 07:33
-
-
Save puria/2ff27b0ca68b34be36572c43f5049689 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"9ee52350.0f41","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"3082885d.e2afa8","type":"zencode","z":"9ee52350.0f41","name":"01-CITIZEN-credential-keygen","format":"text","source":"Scenario 'coconut': \"To run over the mobile wallet the first time and store the output as keypair.keys\"\nGiven that I am known as 'identifier'\nWhen I create my new keypair\nThen print all data","x":353.5,"y":97,"wires":[["d226062d.c0f668"]]},{"id":"7f05d40a.239d9c","type":"zencode","z":"9ee52350.0f41","name":"02-CITIZEN-credential-request","format":"text","source":"Scenario 'coconut': \"To run after the request keypair is stored (keypair.keys)\"\nGiven that I am known as 'identifier'\nand I have my credential keypair\nWhen I request a blind signature of my keypair\nThen print all data\n","x":810.2500076293945,"y":197.75000381469727,"wires":[["5b5d8d79.31ff34"]]},{"id":"d226062d.c0f668","type":"KEYS","z":"9ee52350.0f41","name":"","format":"json","source":"","x":571.5,"y":97,"wires":[["7f05d40a.239d9c"]]},{"id":"a804f4c7.d8e4d8","type":"inject","z":"9ee52350.0f41","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":98.5,"y":161,"wires":[["3082885d.e2afa8","5eee2752.3aacc8"]]},{"id":"5eee2752.3aacc8","type":"zencode","z":"9ee52350.0f41","name":"03-CREDENTIAL_ISSUER-keygen","format":"text","source":"Scenario 'coconut': Generate credential issuer keypair\nGiven that I am known as 'issuer_identifier'\nWhen I create my new issuer keypair\nThen print all data","x":363.125,"y":278.75,"wires":[["b39c0fdc.069d3"]]},{"id":"cabcdb60.b8b098","type":"zencode","z":"9ee52350.0f41","name":"05-CREDENTIAL_ISSUER-credential-sign","format":"text","source":"Scenario 'coconut': \"To run by the credential issuer and store the output as ci_signed_credential.json\"\nGiven that I am known as 'issuer_identifier'\nand I have my issuer keypair\nWhen I am requested to sign a credential\nand I verify the credential to be true\nand I sign the credential\nThen print all data","x":1361.125,"y":239.5,"wires":[["4b70d4a0.93868c"]]},{"id":"5b5d8d79.31ff34","type":"DATA","z":"9ee52350.0f41","name":"","format":"json","source":"","x":1050.625,"y":198.75,"wires":[["cabcdb60.b8b098"]]},{"id":"b39c0fdc.069d3","type":"KEYS","z":"9ee52350.0f41","name":"","format":"json","source":"","x":1048.875,"y":277.5,"wires":[["cabcdb60.b8b098"]]},{"id":"e6c5be1c.21cc2","type":"debug","z":"9ee52350.0f41","name":"","active":true,"tosidebar":true,"console":true,"tostatus":false,"complete":"payload","targetType":"msg","x":2344.374984741211,"y":91.49999618530273,"wires":[]},{"id":"ae9ceaa4.e07088","type":"catch","z":"9ee52350.0f41","name":"","scope":null,"uncaught":false,"x":2149.5,"y":42,"wires":[["e6c5be1c.21cc2"]]},{"id":"4717daeb.737c54","type":"zencode","z":"9ee52350.0f41","name":"06-CITIZEN-aggregate-credential-signature","format":"text","source":"Scenario 'coconut': \"To run by citizen and store the output as credential.json\"\nGiven that I am known as 'identifier'\nand I have my credential keypair\nWhen I receive a credential signature 'issuer_identifier'\nand I aggregate the credential into my keyring\nThen print all data","x":1921.5,"y":94,"wires":[["e6c5be1c.21cc2"]]},{"id":"4b70d4a0.93868c","type":"DATA","z":"9ee52350.0f41","name":"","format":"json","source":"","x":1619.5,"y":240,"wires":[["4717daeb.737c54"]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment