Skip to content

Commit

Permalink
Merge pull request #405 from JohnLCaron/errorReturns
Browse files Browse the repository at this point in the history
Tweak error returns
  • Loading branch information
JohnLCaron authored Oct 21, 2023
2 parents 39967d1 + 9da1ef5 commit ee3371d
Show file tree
Hide file tree
Showing 31 changed files with 33,762 additions and 16 deletions.
Binary file removed egklib/egklib-all.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions egklib/src/commonMain/kotlin/electionguard/ballot/Manifest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ data class Manifest(
}

override fun contestLimit(contestId : String) : Int {
return contestIdToContestLimit[contestId]!!
return contestIdToContestLimit[contestId] ?: throw RuntimeException("manifest missing contestLimit for $contestId")
}

override fun optionLimit(contestId : String) : Int {
return contestIdToOptionLimit[contestId]!!
return contestIdToOptionLimit[contestId] ?: throw RuntimeException("manifest missing optionLimit for $contestId")
}

/** Map of contestId to contest selection limit. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

// stuff used by the webapps - easiest to have it here as a common dependency
// TODO: are empty lists allowed?

@Serializable
data class SetMissingRequestJson(
Expand Down Expand Up @@ -55,7 +56,7 @@ fun DecryptRequest.publishJson() = DecryptRequestJson(

fun DecryptRequestJson.import(group: GroupContext): Result<DecryptRequest, String> {
val texts = this.texts.map { it.import(group) }
val allgood = texts.map { it != null }.reduce { a, b -> a && b }
val allgood = if (texts.isEmpty()) true else texts.map { it != null }.reduce { a, b -> a && b }

return if (allgood) Ok(DecryptRequest(texts.map { it }))
else Err("importModP error")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ fun readElectionRecord(consumer: Consumer) : ElectionRecord {

// Always has to be a config and the original manifest bytes, from which the manifest is parsed
require(config != null) { "no election config file found in ${consumer.topdir()}" }
require(config.manifestHash == manifestHash(config.parameterBaseHash, config.manifestBytes))
require(config.manifestHash == manifestHash(config.parameterBaseHash, config.manifestBytes)) {
"config.manifestHash fails to match ${consumer.topdir()}"
}
manifest = consumer.makeManifest(config.manifestBytes)

if (stage == ElectionRecord.Stage.INIT && consumer.hasEncryptedBallots()) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "production group, low memory use, 4096 bits",
"large_prime": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB17217F7D1CF79ABC9E3B39803F2F6AF40F343267298B62D8A0D175B8BAAFA2BE7B876206DEBAC98559552FB4AFA1B10ED2EAE35C138214427573B291169B8253E96CA16224AE8C51ACBDA11317C387EB9EA9BC3B136603B256FA0EC7657F74B72CE87B19D6548CAF5DFA6BD38303248655FA1872F20E3A2DA2D97C50F3FD5C607F4CA11FB5BFB90610D30F88FE551A2EE569D6DFC1EFA157D2E23DE1400B39617460775DB8990E5C943E732B479CD33CCCC4E659393514C4C1A1E0BD1D6095D25669B333564A3376A9C7F8A5E148E82074DB6015CFE7AA30C480A5417350D2C955D5179B1E17B9DAE313CDB6C606CB1078F735D1B2DB31B5F50B5185064C18B4D162DB3B365853D7598A1951AE273EE5570B6C68F96983496D4E6D330AF889B44A02554731CDC8EA17293D1228A4EF98D6F5177FBCF0755268A5C1F9538B98261AFFD446B1CA3CF5E9222B88C66D3C5422183EDC99421090BBB16FAF3D949F236E02B20CEE886B905C128D53D0BD2F9621363196AF503020060E49908391A0C57339BA2BEBA7D052AC5B61CC4E9207CEF2F0CE2D7373958D762265890445744FB5F2DA4B751005892D356890DEFE9CAD9B9D4B713E06162A2D8FDD0DF2FD608FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
"small_prime": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF43",
"cofactor": "000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000BCB17217F7D1CF79ABC9E3B39803F2F6AF40F343267298B62D8A0D175B8BAB857AE8F428165418806C62B0EA36355A3A73E0C741985BF6A0E3130179BF2F0B43E33AD862923861B8C9F768C4169519600BAD06093F964B27E02D86831231A9160DE48F4DA53D8AB5E69E386B694BEC1AE722D47579249D5424767C5C33B9151E07C5C11D106AC446D330B47DB59D352E47A53157DE04461900F6FE360DB897DF5316D87C94AE71DAD0BE84B647C4BCF818C23A2D4EBB53C702A5C8062D19F5E9B5033A94F7FF732F54129712869D97B8C96C412921A9D8679770F499A041C297CFF79D4C9149EB6CAF67B9EA3DC563D965F3AAD1377FF22DE9C3E62068DD0ED6151C37B4F74634C2BD09DA912FD599F4333A8D2CC005627DCA37BAD43E64A3963119C0BFE34810A21EE7CFC421D53398CBC7A95B3BF585E5A04B790E2FE1FE9BC264FDA8109F6454A082F5EFB2F37EA237AA29DF320D6EA860C41A9054CCD24876C6253F667BFB0139B5531FF30189961202FD2B0D55A75272C7FD73343F7899BCA0B36A4C470A64A009244C84E77CEBC92417D5BB13BF18167D8033EB6C4DD7879FD4A7F529FD4A7F529FD4A7F529FD4A7F529FD4A7F529FD4A7F529FD4A7F52A",
"generator": "36036FED214F3B50DC566D3A312FE4131FEE1C2BCE6D02EA39B477AC05F7F885F38CFE77A7E45ACF4029114C4D7A9BFE058BF2F995D2479D3DDA618FFD910D3C4236AB2CFDD783A5016F7465CF59BBF45D24A22F130F2D04FE93B2D58BB9C1D1D27FC9A17D2AF49A779F3FFBDCA22900C14202EE6C99616034BE35CBCDD3E7BB7996ADFE534B63CCA41E21FF5DC778EBB1B86C53BFBE99987D7AEA0756237FB40922139F90A62F2AA8D9AD34DFF799E33C857A6468D001ACF3B681DB87DC4242755E2AC5A5027DB81984F033C4D178371F273DBB4FCEA1E628C23E52759BC7765728035CEA26B44C49A65666889820A45C33DD37EA4A1D00CB62305CD541BE1E8A92685A07012B1A20A746C3591A2DB3815000D2AACCFE43DC49E828C1ED7387466AFD8E4BF1935593B2A442EEC271C50AD39F733797A1EA11802A2557916534662A6B7E9A9E449A24C8CFF809E79A4D806EB681119330E6C57985E39B200B4893639FDFDEA49F76AD1ACD997EBA13657541E79EC57437E504EDA9DD011061516C643FB30D6D58AFCCD28B73FEDA29EC12B01A5EB86399A593A9D5F450DE39CB92962C5EC6925348DB54D128FD99C14B457F883EC20112A75A6A0581D3D80A3B4EF09EC86F9552FFDA1653F133AA2534983A6F31B0EE4697935A6B1EA2F75B85E7EBA151BA486094D68722B054633FEC51CA3F29B31E77E317B178B6B9D8AE0F"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"config_version": "v2.0.0",
"number_of_guardians": 3,
"quorum": 3,
"parameter_base_hash": "2B3B025E50E09C119CBA7E9448ACD1CABC9447EF39BF06327D81C665CDD86296",
"manifest_hash": "16DDFBCA54759FDDFBF392EDE7660CBF94B4330453D18337E7075D61D129716B",
"election_base_hash": "B6E950F3BFD3526BEDB5690A21ECB24422953A9FE51E908D87087DEA33E85204",
"chain_confirmation_codes": false,
"baux0": [
100,
101,
118,
105,
99,
101,
32,
105,
110,
102,
111,
114,
109,
97,
116,
105,
111,
110
],
"metadata": {
"CreatedBy": "RunCreateElectionConfigurationy"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"joint_public_key": "8F54071159A4EFB8B907423F9C471A654D4D5E4917412B4D54CC1E771227A4084C4DB99615AF20D546EC53B090C372793AF2E25770D71139BF66EFF084D8637259211A4AD20179D6391F41676EDEEC26C31BDD23465519FC1175F672AEAC228B361B0A6FFC510A41988A52DA32986306976CCF39B9DD62EB4809ABFB4BC7DA5F0DA11E87159894030E7A93B8A78831C386C6A2F9A52539CBE83E0CB4F9CBA8B79EF85B7DAB14B31799911AFF56546D7127197E2F834154378B31E3960A012DEE8CC55E72BE7085B4A76CC231BEB05EEA3E03F639C6CFF0B6174C313F4AED53909772560BC73C2D9516EFE2D0CECFE8E6D5D8B4F3E33941E711974D9C8B68D6850A879432151FDEBBD29E716E3E13C1E4F1C0D59D9C00955268B150EED8542910C6CCC40A21E08A3C92EE38F258883063DFCFB59E4C53F1538FF5514362A45C487540D33B3622D791EDE1443F798C72EF04ECC4F0E65ED0755A3957886AF89EBFEF094CE1AD90FC8A0A5194A576610F3FAAFA9C20D2D6A5028D7B30B5CBC4DBAACA85D93DC243CDC6991B8A4A806B37C778F6C2E30EE627CADD6D67EEE440B81D088FC47B8F68B02D95A6DFF86DB3A09DDFE5F88808D5F81F0824D7EEC429C373753B28067F140F72547ADA2A73E018231FC66F2BA58A9D9ABEC2E3D072F74908486C53CE35F0E0666EE62B57E08F0ED5FB95953BD490824822C25AD70CFF2E60",
"extended_base_hash": "EECA43A7BF1C96304064DD244BD484E1E01580CBC077B1DE0823C0CA5C73C6DA",
"guardians": [
{
"guardian_id": "trustee1",
"x_coordinate": 1,
"coefficient_proofs": [
{
"public_key": "34DD0CC694C594BDBBB5E9C29F7C6072137AFEFBA36F5206A386006ADB98AFD253600EEDB978E3D072832B6BE07477337083565EBE190E40006E288790A59E687FBCAFBA9A82285BBF457AA6B735E40E330E0BFD0CCE887D3EC452B232E65D2616B98ECC8F44E7B0B3FA1B051B21863DC5A053D7F8661CD1A35C1D7C0C98CABE242E55EF773DC6AC11620AA06362341423C3BE2B1C33837C8DB6F25388A143BFFE695B81F00C2667A6087BBDDA2D813767C7A451159C54E075C8D4AEEF099072CA3F7B256A41ADA5CA2081EAB803A11AF1346FA856F82650B60042E331605C238A342BB8A2E054B85E42DC9550B816919CDCEB7E9FF11117EC320F0D98BFEBBB2BBC82306A353F4479B45D43CE031826084B95438128250B19841E84733B5BE9B3E6815DC1B6CF3BD611AEB9BFAC07CB82D1679B1487690198679421E19216EFDA7D57656320E2407618FB769A1BB4BCAB4163143CE24E759F8184594BA237984A89399390DDA08F58C797CAEF76A2F9591FBB00D48A4FA5D0A852020617C0C6178CBA0998BE436BDA35FCD1E3261FA3ECC2D504E9382D7BB641699CDB959838F36C519C3EF338CD2167899FFE2CCFAF8B79C67239D623643607D5FCC6BDAE50D34A3AE5922B54ADE8F6461C98A03C1D5EA3E5C9FF8E2A63F3885F5E41C5F3F98E00BD53184DA2DF60BC9F3C3B41F394A8391DECE7590D4DBE202426B00F943C",
"challenge": "026D48811596035EC06C24464D330804FF7AB44E59008AA2DD4B84736DB8C6DA",
"response": "EF6A4661A3DF783213AB4BA71AD4A960E37D45C8157D7877B8B3549FB0EDAAFA"
},
{
"public_key": "F946104A11EDBE0FDB87B86EE0CF94BC46FF608D20257A452A343C2702A61702F11204ED20716796CF490B76A39A5C78806B96A3B09DF221396F5CAC66597752AADAAE2CE7E9BA8F9B66BCFE0886EF91C36ECFC514D447628A8E37A9A72DAC8CC45186B9E2CF47BBA162324886A3DDE3A316BD96F70FBC304B6F0E9F53DB2E870343D4EB69B9861B4614CD46B491497CD01ABC3B23620C7076D3C241DF267B39CE228660369A987D84B678AFE813C21ACC5988E9F2382B84763AD46D2617CC7D17CEAD1F3BCA23D20A215662924EE2FCE0939D67A09B0D8466EBA7508E2BC66951FE7B0C14853A2E54347BA164FCA53EAF37F5886F33E304A8148A432FE24AFBCB53E2E13C7B563481C12C61876C49CB2414D61155C8A20BD7ACE6C9F5052FD045A155914CCC9D02FEBD11807C4D01BB9821B4A31A76ED03F0A603E05AE8A5C109BEA0C6C07C829FFEDED52FA5D16E545C9BAE73A5A479E2E061CF709AC2033BC78A01F11707669ECA7A762D9A5733317A8673F3B44A605A9D167DAFD70DA3B3FB0E7558C31D1B814DB2C063B930ABC82F718E57B71DBE5CFE88CFA9A20703A74E3808B39A72E282CCE681059CD50E02D841BAEAF3016393A7657DCEC66E421FD755472DC760B8CF44BD4E365305D163828BDCD1B62865308FFE64D4A179B836CFAEB508D79F552FEA22B81DF5F541F3D7722BD56C21995BCE60BA7D15BC184E",
"challenge": "DAC38FA18F91B525E0F94187F9FAFFFD61CF3F757AE850B38A03255A95C4A484",
"response": "6F9157BF8FC2D9E17A1D7E949B0C6FD721A879A4DA42967826E1EE44C5DB5BBB"
},
{
"public_key": "4B9A0D776EA87E2708C2F49B6DEDC7B8F3361196F8823368C56AD96993E1445C45F2B7E03D3497BA7CC1D3CBF566738B780364A39108684CD6E2F02A143AD6C27BBAFCC9A021AC058F91ABCB62CE111F0C8EFD0E493F8AF447D3B305438710A18AE84C15A14F9924117C6F8A3908564C0EC665B17CA578F939BDEED3DAC800BA7465EDDAFB1A018A81CF65429BFBBD42467C9488AE6798011854BA3AFC9B43B4427F912C2FC50CF9058851ED53AD827AD3350A71E9D6494C2B29563A4F943CC1802CF8158897B941F6282B4DB81D156C87F8946F609DEDBEF61805BDDD7979821463037CF3C8EE1F9A7594ACA72497F8CDBD6976033193B22E08757D2EBD7ED990672F450381AE2AF813F4E15FF5BE5ED51093A98F83F499900DC7BAA7D4B597230181C3135768639B7EE4F3EE7A8268E2973FA176F8BCBB4142C564773FC8437A0169DB402B02FC4254A2CA58CD7B04F0CC688F8E6545ECA518707068FBD2C388AFCF32F99CA1331751E04149112253C2B21DAB53FD7A0E3C80F7EEB56F643E7748B6CA609DB948515D06C7B01739B902A292869F7DEDB0EFD4B835CE997AA732829787C331B262FDF5107D1E9EC7E5777A7FF3B97D28918E10804286C8A9858E8885F4A8034C6E670D77317F192906D7384529B5B5B57EDD4C44926C836370B975271EF8A1884F94954C68C9272FD5F41FFF1C03B7A800F06BB8A834D57603",
"challenge": "3A5BC13E57C8A69FCEFA8A5B7A9E60C1306CB15A89167FEDAD4A8D111827A435",
"response": "55BC68C0A36A0D075E8CD8C1D6CEC8DB4BDDEAE7037C110B0869FB49B4950FBE"
}
]
},
{
"guardian_id": "trustee2",
"x_coordinate": 2,
"coefficient_proofs": [
{
"public_key": "9D1F84CD7778BBACF744ADB735CD17CACD14FA7C906AEB9B110FE56A95F3FBF6956764857EDDCACC684AA1CEEC5CD7D4F80B3429959A9F2F57D214791595546AD33CA236361C5FF4F96613CF2288131385AE2A35BA1DEDA88D2865A008483C9450069C749B2966548588A1DA077AB2E60DC1DC172D33E0F3EFC014EE9889CDEB726FFC13221E9B9E2994C0C45B5B09842C2BDF68FB317EC53D66EF32DCC1779E59DC40CAEFA0EE9302588983B2FBE76582C448EE410A98202FA325458CFC2D8004C0D829A897EE9A6B5B8CC64EAD58F7CD680B1DAF9F19E34CE3924F3820AB3592963ED2E2E644B53AA6F252E21326BBEF28BAB026253D1B235658D685C50C710C221FC25097A377330875D52C05930A226C0049A2C9FB8348AE2044E62A946B944DD31AFAEA59BABB73299B4A8E4B139EEC4B8A7A3FF3100DFA1BBAEB69D259D281FD3348B3BBEF1A58B5A8ED18D3A01D579F83E596ACE2F0CBD7E87C2D84E465A3469E5B9832CD5AD45FE25A54499BBEC52FA42A21A7015F20A604E41CA4047E733D3E64DDECA4839C473984464BC2BF5A3A45B893482F2B5ABFA0EF482F1DA5F1857BB252E9C996216E4006D624A4C68E1B031658275598FC87F1A1AF50290633A458E54E2BFE5A299F743AF278A19F1914E6A4EBB70C7F04824BB1CA6C9375A290E1472B1DDDE91A5FF8818535EB0AA602CEB7DD4C1FABD1307A695C6A89",
"challenge": "D5B50695D290A72B48EB8CBACC08159774BF0E3AFA76240BA165C8539EA14C07",
"response": "E115A8D99230ED46D995DAEB9E46EFDF5A0AC0ADB21D7130D76DD5B62ECEA2E7"
},
{
"public_key": "E6FDF3E40441978348D49AFCA72A6E50C45010A3669C4B232678CBF2BF0320E36353CDC05D4C193C0712C9362926AA43176B0A2479FB30FCDEE9826A68D32901B6156EF7F6844363143B3933AF9C9FAEBE60E8064AB44BE8188AB3A3EBD1D0D394A6AD6582418EABF02A6C7A077F77A59C0AF3ACAAF864BDAEE74FBF78DDB22F08F22BA992678853B547476414892D79DEF210E8AAF785AEB668A875D22C580A10C8F190E68861E5482A6FB8B55A23D7FF9F521DA12D8D71B5AE99E09256286BA2CC598DF45171F9930269FE31F1AB831598FD0A689A825C60456D371EC73C43FE3B48E9862765CC48D5CBDFEB65FA6B36E9E6D959D2D15784AF4706184622E747A8B72E58C6A0B8C3AACE7EE6F7EB91663A3CE41BE4CAD77CD0D2F39C6A1B2C3627E01EAEE397212D3834BA61CA693F8CCEA8373CEDE37F32E7ED0D2FC384E71DDFC5CA6C2C37F40AD5E59773423A11DF7D74154E14F967B6AB8D0496982ACE8B619F0130A3330A48B59D5A97FF9DBC71571FC5B703DE791329CF7F3EC883863B0C64F4127A743CD30A12D52FF18231022638AF7D5DCB5E6BAD5E6F6D76FE179FBD226F108B38A3270078857653E03B92FB65F0B4CD1613B1B621A5E90D96DA9CE6A1F71786FC5A08CC6D405D66DBFBBBE3E7A07FA0C9EE9F9297E43F302ABD5BB022F8BC77B17C6D74EA431E610A45B1FA6B6AF633EA775885CCBB7E5A37D8",
"challenge": "14E811F7630781D954E8B001183D0A64D9BAF8667040FB587F47435D487BEE42",
"response": "05C3BE1C3F2877338BE81CF4F440E48F792E7B1E40BC4DBD0C3697CABCA8DB24"
},
{
"public_key": "F9FF608E0BAB8B4797FABB959E41D425C537689D626480548310502427AB2AA9CA049443873E5899ADDC2FB2B4D9F0EA625C1800D31D813287165C963FBF83D345E8953F71295D3A6C24A81C1A2485CDDA3B9AB6B5E43481A4A7EE2FD7EEDBF9F25568896691FAEB9502C059E601745F16735406C7DB4F0747185E6B81BB2F77EFC77F4CCB5D4F205FFA6E63617D87060112B1E99DA3116FBE63D3CC0BC8A6A0E18DFBD8C900F3B694237BD47623F4E998981A4F3FF1D062A70C412A1321A05A2BF6F75922614A32713E2DDBA511A9F6CA4A972E64CA3896A61863CFA16EC8129A508C1141A8B72CC60AE6D23BD6949BA1F2448006B78153E8402C797A3AADA08EF9F223C66E58AF4EE6A08C761C8F2F652C6C843E48C1A344EAA37894A0B25407FA549F81FAF6CDC53AD63D732BB0D9BFB2FC58DF78B463C6A66061DA7361EF8AC5D21BBE05D2404411E96E39D8FEEC1FAFDD4D1388F3A92558D77C75872CB971EB35010EC1D722AF714A6F8FB1BE454946AD3FE0D2AA64E2FA8131BB97E2E4B57C962A30BF3E108622A8496893C0BB17F57DF23949FC11C17A1CA27547F66A343FC71D015D00805817F43609128B06FEF25955425860F6248F9EB60A628F32B43A7D7CBC6A3EAA1F6F6A551E69A33FB11B8EEC962E8E03BC7672CC974383E1291A593414B716303F686916912B58ACA5A54A9296E12FFDF98944E42F1DDAAD",
"challenge": "4915A652B381C18795F1F601B6336D717176292BDEC35014BC852A0693A91CA6",
"response": "BA97AAAB76AD43FE048ED4B68C038DCAC65473718DAB263B127862478533EBB5"
}
]
},
{
"guardian_id": "trustee3",
"x_coordinate": 3,
"coefficient_proofs": [
{
"public_key": "37EEADDF5E1A03745F116241CBD5A907A46ED8CD8C1590B780073183DB1CF92C01CC35294237A64C16362AC3F3A9BF0EEC90C9982285CFBE3A0E28039BA13241556ECCFE16EB0E8961BC725EC7D0BA8E356900FA96682A4C0F01E4B89A36F59D2F2182C5C21BB846AF505B21783174B94EAB6EE4FE394048EEF93FCCCC6E71D0A1E72F5C103B5423460CB79A3B10BC0DB57DCFB8C0B1C9143D9C8F6C638386133667AB10569A02624447C435E6C51F0B9113FEFBE07B74AFDE20F048F7738A9873F43D360D5AD23B421CE36E5A7A8F66A3A2CC716AF5DBAFB96A022152CA017D8D82B1A77D22FE25CB1CCBCCD368256EC3338BDC7CC18967BB7E9CAAF0A275E24FBFBFEF743B5E9BBE2A0C5AFD55F5452655584AE42BCF0406D2A6A8E69D9C2FFF4D4AEC0DF039F7000612F4C31804A3D07C9E9DA3E42A44F3F0D9944ABA268AF9F54AF2AC0C3F9873B10A3DF20A01F559BF8D65F5DE0A63CB6DFEDABE09212380C314D9C46DE7EB5A48E7A69E2D2C5C56635B94A5698EAE62BED5D6DAD6005C954DAF18165D22F4D8B18478F020050EE410A32037971FC238ACEAD9CCAE83F3E2C440549B31F8EFD4BB4B385172AD0E55B4F34C837F39287ABAEF4EECF35FCF33C017CF1BF8B14B993CCAAFDEF9F53BFA341571A2041B8E1E448220DE54118BD98B7930D575CE0AEB373C1B8302514A535D1E7DCD9820430D54C7649659429E",
"challenge": "5094F5A00180C6DFB046F9CDA370BF0570D81A45F24A8368A9BCC98053AE542A",
"response": "AA2DBF23483FF4C10AA9A615CC1FC44AFD3E9D7B70BDE281CDED56443B3E576D"
},
{
"public_key": "21A190E10A5A4C2721DDC69BC6D2FB3FA00313A0CDF3473405E12C851573A9CB6926148976D5865E1B1D1777EFF06C9AE7CA21B54DAF3D2352DB9AFFEE3BB9D5CB97536099886C05EF1AA0CB3A4A9D8F064ED85D00A2568DFD31AEFD06ACE30E3CD4CF3B892EFCCE456CDF572B8F07A56BA8F287CC6DDFDF90A7DBA4C4ADDDCB9BB51BD0F57BC30F391F3E4EFD3C98D35BDB551165713CC3F1978D0B7334738446782DB89EAAD6E708F3EEBCE10678D7993493C681518B0381EB4A3C956D835A29DDBA3200CC705AE60C58659A9457BF381B1D9AB5191AEF4189875FD1CDE701FFA5C3D003F2538EAC998C5B861D0FAF16C2BC2EB40D6D679C57358317F93F11077250817466E5BE1EB946E0FD0443C66456509BC5D297CB8A4790584F22442446D8954B4B545F152D7B6371E7741C21DAC299F57C9F9CFDCF58200BDEAD91FCE19C888F585E5E56A2AFF0516E21E1F63E25682541D02303EFCFDD7DBEB7B38B6F26CF8D966DFF968D01F4F9E8E88FEC6DCD2D7A64A8CC31B98057F442BDF5ED8254E050108B172B7B984195D654BBC944AA9C9DEE5FF641A3BB117CE1A488FE09EBD6956ED87B36644326A70DD99C3111AF14D9B1118E76F12650D5DE709801293D36EE6AF6E1B36F018ACF3723BC450C24345B70A1AC0A0DEEBCC33AAADB83C6DFD25FF1EBDCF48F24326EAD85848047B4F08E281CE03D5393042689341BCF",
"challenge": "9972CB28E01E146FC85C9FEBCCB1459198ABFDED982D81C91893552E56DA0268",
"response": "9CD4A1BD6DA1F7398AC6E38B27127A372E3EEEEE1949ED1832F63A8C6A4A37F9"
},
{
"public_key": "363E6B21571EAD8A6A63662B721832A98A0094EE4FF8A4164519BB1EAEFDB70BD3070B23B5A70F04881EFD669A7DDC400EAC5DADA72A820E7462BF5F3A703642F265FAE22BF943AB993297DDAB5AE497328DDEC73EA0C09AE0B2005C85012A7850017852037970103FC98D801E1BADD7E940CA585A2BC5E2806B86F688F9B551732D7C9E09DC4BB3E6C2C53CC14124AD27FCF57E9D331E3464676AA3DB00A3B1DD5ACEDF911A980124BFBF4C0D397F6D5627FC9EC4ACD60A7AF626D005B91EF3C0B978BA39D8E71681CA1A20481BFFDDBEADE14A9ADAA2A33FB0D4EF2E7988674FDEB18B8C32B0FAD023F39D5684560D9BD2BCC8C7DBE6A7EFA59536224A62CE913D406A25196AD72134ED384B193B37F8AE8838D5D8140D975A2A43935EC56F51828D257FF4FAE2B96D47C49065D445513A159F55B5780704C4D34B7FAAEB87B9096CCB5CD0855447A9E26B21A221DB7B2A34894FBF48521A66EEB475013CEA72B0EBD3BBBD1BC77F6575161B1B78C4D3EF7E1E44398C33A8E1AA621F4B89AB3081C98D3451655D4BAF93081060875A3A167D923F5E39172942D081D1CF53B188C70373370CEBA914BDC32E2B0F38127A564A9C6DC37AB32EDC53E6BDAA51D8B6908F4B15583C08EAB7D022025396F5DFBE1E3685C4E4C3F5C07F5F0A8E7FDA9FADB25AC8B16B66D55915CB57D0B0AE2BCFBD15FFE52BA27B5586A0067E3C19",
"challenge": "3299E6E85C08DEB556E55FA4600A9C65DE5A8382130B41835BE8A7FD2E2BD86E",
"response": "765F124E23A0D7BE2D7DFF6DDF729EDEFFDB193683D3E3A2CC44B42001E7530B"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"encrypting_device": "testDevice",
"baux0": "64657669636520696E666F726D6174696F6E",
"ballot_ids": [
"id-10539542",
"id1402463548",
"id2099379667",
"id541117647",
"id-776800584",
"id-426362737",
"id1684423585",
"id8555977",
"id-719721030",
"id-797052786",
"id-1704950795"
],
"last_confirmation_code": "1C5E13243C1C43684B105EF4C650AFB47A1FA41316D8DF1D65F7CFA83F355D24",
"chaining": false,
"closing_hash": null
}
Loading

0 comments on commit ee3371d

Please sign in to comment.