Created
February 28, 2019 14:20
-
-
Save puria/48f5eaddae9556d56d267873cc7494b0 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
zenroom/examples/zencode_coconut git/master | |
(venv) ❯ ./run_coconut_example.sh | |
Generate credential issuer keypair | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading Zencode from stdin | |
. loaded file (188 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
{"MadHatter":{"verify":{"beta":"3ff1b9b367f53591429b769737df034765603582149423722726dd80d5cdee2c5e166a268fb3225f557d64efd71184fe39273f49cf7809a77e59b836903ea3b60570c178ed94b0c09d459b88d99d1ac3ba380b64c0ed11e9ac440d0bbc1088730811c387d9a0afcf8a396ed3299ce34cbe3f199b11d6d3c1bc8ce1670ae5292362af077067eb244d066884350669848f085f8f23ad064ea99a850fa6bc3b6d036b50ced97e97df00f5d6254064233ab683071bab2abc4d40dd42893af6bfa5b1","curve":"bls383","zenroom":"0.8.1","schema":"issue_verify","alpha":"3fecbd62ef8e6413ee93229fda035da960f0ccace29910467018f720278cb695759bc2c39a9b5c79a272f4dbb916fba008ca849600f40bae110f2be3c505dd133749137d49b072d88f910faa75224215891d132c79de31d97b8127d7f1ba37a72e100f4193a4e58fc8d50122b4740525cc77f4c3edd342eb635a17a6fc03a46c9687c0b6c932ff9ed4f602561e6ebc7643509aa5f96bc63b7eea81296ad9736ef28edee961c6f87cb3244fbf8ccaa0108442fee94a7529b0c62a0858915f2766","encoding":"hex"},"curve":"bls383","sign":{"x":"4e90556932c43840598322a67b544329e1a21343441a920766fe359d75b9325c","y":"6e3a5b317269e87ba65b121d31b02855fda2bb657d7f3b48a604da0f9a7e951e","zenroom":"0.8.1","schema":"issue_sign","curve":"bls383","encoding":"hex"},"zenroom":"0.8.1","schema":"issue_keypair","encoding":"hex"}} | |
[*] Execution completed. | |
. Zenroom teardown. | |
Publish the credential issuer verification key | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: madhatter.keys | |
. loaded file (1194 bytes) | |
. reading Zencode from stdin | |
. loaded file (235 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
[*] Execution interrupted by signal 31. | |
. Zenroom teardown. | |
Generate credential request keypair | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading Zencode from stdin | |
. loaded file (187 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
{"Alice":{"zenroom":"0.8.1","schema":"cred_keypair","private":"da3860214852f5d1b426388a0af4b25e6caeff20159f87ff61f4d4c10e625279","curve":"bls383","public":"042383e91a6499207ff19823c15e01670be595504bad46bb4f927eac18fd7dc3f3d929866ed088d0e4c2b78d5f6bb6bdd80a1fc3c028ba057d06efe929fb004aaade5330ca91b3e793de89ddd758d446e86921bc451ef206d1fca89021e472c41a","encoding":"hex"}} | |
[*] Execution completed. | |
. Zenroom teardown. | |
Generate credential request keypair | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading Zencode from stdin | |
. loaded file (190 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
{"Strawman":{"encoding":"hex","zenroom":"0.8.1","schema":"cred_keypair","private":"f3f59330cebfe2871fcd9f4ffcd7a97f6f10bf4dd3779c6c037adc2347d7be3b","curve":"bls383","public":"0418f5fc7390728b9a5b9ce71454f783a4827f4a67eb362494fc485b953d852d3069caee13f1b630920125fd6c328bba4350b575ea5c478fa01b8d2a29996185bfdc97ce6edbe6a1e8d7b20c0fc62c4fce85d5fe40a48d8b205b223ebf31ed1105"}} | |
[*] Execution completed. | |
. Zenroom teardown. | |
Generate credential request keypair | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading Zencode from stdin | |
. loaded file (191 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
{"Lionheart":{"encoding":"hex","schema":"cred_keypair","zenroom":"0.8.1","private":"e7a327a8c4d4b329573c375bf64f0c6c3e782a239408b2e8491ef839ad8987f9","curve":"bls383","public":"0420dbbfdd2c8220e9c3d2132715e6e0cbba2a22c3508d4c60e37bcb1631d74f96b1bfbd8a3e97c5feb61dc7fbd34f49cd0554e7f7d0a296df3baf7a8cfe4f3d9136a5d0cb87d6ff83fdeb0caaa02f25d9d92799a52038d3729afeaa24a3b9212e"}} | |
[*] Execution completed. | |
. Zenroom teardown. | |
Request a credential blind signature | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: alice.keys | |
. loaded file (371 bytes) | |
. reading Zencode from stdin | |
. loaded file (230 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
[*] Execution interrupted by signal 31. | |
. Zenroom teardown. | |
Issuer signs a credential | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: madhatter.keys | |
. loaded file (1194 bytes) | |
. reading DATA from file: alice_blindsign_request.json | |
[!] Error reading, file is empty | |
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/bin/json_pp line 45. | |
Receive the signature and archive the credential | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: alice.keys | |
. loaded file (371 bytes) | |
. reading DATA from file: madhatter_signed_credential.json | |
[!] Error reading, file is empty | |
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/bin/json_pp line 45. | |
Request a credential blind signature | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: strawman.keys | |
. loaded file (374 bytes) | |
. reading Zencode from stdin | |
. loaded file (245 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
[*] Execution interrupted by signal 31. | |
. Zenroom teardown. | |
Issuer signs a credential | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: madhatter.keys | |
. loaded file (1194 bytes) | |
. reading DATA from file: strawman_blindsign_request.json | |
[!] Error reading, file is empty | |
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/bin/json_pp line 45. | |
Receive the signature and archive the credential | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: strawman.keys | |
. loaded file (374 bytes) | |
. reading DATA from file: madhatter_signed_credential.json | |
[!] Error reading, file is empty | |
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/bin/json_pp line 45. | |
Request a credential blind signature | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: lionheart.keys | |
. loaded file (375 bytes) | |
. reading Zencode from stdin | |
. loaded file (246 bytes) | |
. using default configuration | |
. loading lua initialisation | |
. starting execution. | |
[W] Zencode debug verbosity: 1 | |
[*] Execution interrupted by signal 31. | |
. Zenroom teardown. | |
Issuer signs a credential | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: madhatter.keys | |
. loaded file (1194 bytes) | |
. reading DATA from file: lionheart_blindsign_request.json | |
[!] Error reading, file is empty | |
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/bin/json_pp line 45. | |
Receive the signature and archive the credential | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: lionheart.keys | |
. loaded file (375 bytes) | |
. reading DATA from file: madhatter_signed_credential.json | |
[!] Error reading, file is empty | |
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/bin/json_pp line 45. | |
Generate a blind proof of the credentials | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: alice.keys | |
[!] Error reading, file is empty | |
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/bin/json_pp line 45. | |
Verify a blind proof of the credentials | |
[*] Zenroom v0.8.1 - crypto language restricted VM | |
. Copyright (C) 2017-2019 Dyne.org foundation | |
. reading KEYS from file: alice_proof.json | |
[!] Error reading, file is empty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment