Commit 41887718 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

test: remove some keys from test scheme so they are read from private keys folder

parent 5c5891fb
......@@ -696,11 +696,12 @@ func fakeMultipleRevocations(t *testing.T, count uint64, conf *irma.RevocationSt
func revocationConf(_ *testing.T) *server.Configuration {
return &server.Configuration{
URL: "http://localhost:48683",
Logger: logger,
EnableSSE: true,
DisableSchemesUpdate: true,
SchemesPath: filepath.Join(testdata, "irma_configuration"),
URL: "http://localhost:48683",
Logger: logger,
EnableSSE: true,
DisableSchemesUpdate: true,
SchemesPath: filepath.Join(testdata, "irma_configuration"),
IssuerPrivateKeysPath: filepath.Join(testdata, "privatekeys"),
RevocationSettings: irma.RevocationSettings{
revocationTestCred: {Authority: true},
revKeyshareTestCred: {Authority: true},
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<IssuerPrivateKey xmlns="http://www.zurich.ibm.com/security/idemix" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.zurich.ibm.com/security/idemix IssuerPrivateKey.xsd">
<Counter>0</Counter>
<ExpiryDate>1491436800</ExpiryDate>
<References>
<IssuerPublicKey>http://www.irmacard.org/credentials/phase1/MijnOverheid/ipk.xml</IssuerPublicKey>
</References>
<Elements>
<n>96063359353814070257464989369098573470645843347358957127875426328487326540633303185702306359400766259130239226832166456957259123554826741975265634464478609571816663003684533868318795865194004795637221226902067194633407757767792795252414073029114153019362701793292862118990912516058858923030408920700061749321</n>
<p>10436034022637868273483137633548989700482895839559909621411910579140541345632481969613724849214412062500244238926015929148144084368427474551770487566048119</p>
<pPrime>5218017011318934136741568816774494850241447919779954810705955289570270672816240984806862424607206031250122119463007964574072042184213737275885243783024059</pPrime>
<q>9204968012315139729618449685392284928468933831570080795536662422367142181432679739143882888540883909887054345986640656981843559062844656131133512640733759</q>
<qPrime>4602484006157569864809224842696142464234466915785040397768331211183571090716339869571941444270441954943527172993320328490921779531422328065566756320366879</qPrime>
</Elements>
</IssuerPrivateKey>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<IssuerPrivateKey xmlns="http://www.zurich.ibm.com/security/idemix" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.zurich.ibm.com/security/idemix IssuerPrivateKey.xsd">
<Counter>1</Counter>
<ExpiryDate>1893456000</ExpiryDate>
<References>
<IssuerPublicKey>http://www.irmacard.org/credentials/phase1/MijnOverheid/ipk.xml</IssuerPublicKey>
</References>
<Elements>
<n>96063359353814070257464989369098573470645843347358957127875426328487326540633303185702306359400766259130239226832166456957259123554826741975265634464478609571816663003684533868318795865194004795637221226902067194633407757767792795252414073029114153019362701793292862118990912516058858923030408920700061749321</n>
<p>10436034022637868273483137633548989700482895839559909621411910579140541345632481969613724849214412062500244238926015929148144084368427474551770487566048119</p>
<pPrime>5218017011318934136741568816774494850241447919779954810705955289570270672816240984806862424607206031250122119463007964574072042184213737275885243783024059</pPrime>
<q>9204968012315139729618449685392284928468933831570080795536662422367142181432679739143882888540883909887054345986640656981843559062844656131133512640733759</q>
<qPrime>4602484006157569864809224842696142464234466915785040397768331211183571090716339869571941444270441954943527172993320328490921779531422328065566756320366879</qPrime>
</Elements>
</IssuerPrivateKey>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<IssuerPrivateKey xmlns="http://www.zurich.ibm.com/security/idemix">
<Counter>2</Counter>
<ExpiryDate>1541420437</ExpiryDate>
<Elements>
<p>25982760588784086189430987907145314518492792537217937739394555701528004248653974956337040753839025929521533978382857055431422181028455587721721522933271345371677269337684003998256389903159948573616637611027297159826293392885606894520707951079516684809593057959532526085087711078029651878634973254420850253873985021928997572678071351336026705509236765735099533094058224601589104234165989904959895737088340680296982635209150633762172370160162966170509328570519613000835543008638876777982155899232357577519011319421998180848973475840287560340132784182463501912581958154863188966405673453478495996605986417917101665863707</p>
<q>25249992872186414746708344676962954974093435718660774087956292176743126894963177185316454779001453221966964677174128961048534114126355992832979594783808197827567462808069675428241096614082821346603901603259623079705888343401988284809133862924271163084034504793119097021316630172998722653286613287136017714792851190705533398663612788070734494329611117097827298365623786578351567567207162029728462173994022893882687917142744555047496999901498495432938820111530541473666702158527444559686171455167280913311260980049627904105273471470541657327609913734344648410659631624524393677526046635451690349763010208158615966071767</q>
<pPrime>12991380294392043094715493953572657259246396268608968869697277850764002124326987478168520376919512964760766989191428527715711090514227793860860761466635672685838634668842001999128194951579974286808318805513648579913146696442803447260353975539758342404796528979766263042543855539014825939317486627210425126936992510964498786339035675668013352754618382867549766547029112300794552117082994952479947868544170340148491317604575316881086185080081483085254664285259806500417771504319438388991077949616178788759505659710999090424486737920143780170066392091231750956290979077431594483202836726739247998302993208958550832931853</pPrime>
<qPrime>12624996436093207373354172338481477487046717859330387043978146088371563447481588592658227389500726610983482338587064480524267057063177996416489797391904098913783731404034837714120548307041410673301950801629811539852944171700994142404566931462135581542017252396559548510658315086499361326643306643568008857396425595352766699331806394035367247164805558548913649182811893289175783783603581014864231086997011446941343958571372277523748499950749247716469410055765270736833351079263722279843085727583640456655630490024813952052636735735270828663804956867172324205329815812262196838763023317725845174881505104079307983035883</qPrime>
</Elements>
</IssuerPrivateKey>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<IssuerPrivateKey xmlns="http://www.zurich.ibm.com/security/idemix">
<Counter>3</Counter>
<ExpiryDate>1881423265</ExpiryDate>
<Elements>
<p>147882317108362961092358686681091117936552132511772431915114531294604719166027241486648384335366329639528405524875840918719545613460930725462211277975294930287950184164010226584865100878900905742220919477940690349851872441550475716312277716199344922783584783719002164510058269408928807971356927464129173683919</p>
<q>157710783700452860004883757022542650602788992241984821716373458277997152152425512424422920245238294361139819651993857286799751712351597434077427924577706245018253951020863671270398285089445524318757855068299706150688288078591463349923367484848318208309240302773312803561594870795643078895291687553669994492443</q>
<pPrime>73941158554181480546179343340545558968276066255886215957557265647302359583013620743324192167683164819764202762437920459359772806730465362731105638987647465143975092082005113292432550439450452871110459738970345174925936220775237858156138858099672461391792391859501082255029134704464403985678463732064586841959</pPrime>
<qPrime>78855391850226430002441878511271325301394496120992410858186729138998576076212756212211460122619147180569909825996928643399875856175798717038713962288853122509126975510431835635199142544722762159378927534149853075344144039295731674961683742424159104154620151386656401780797435397821539447645843776834997246221</qPrime>
</Elements>
<ECDSA>MHcCAQEEIGRlMJL1I2xpSzf58+rX3IC8NCkiEmiyy2l7e7nN4314oAoGCCqGSM49AwEHoUQDQgAEuGpNjRlvlcUvF68gy4s/e6TJJgYKoBe7RaiMWF7H0sG0XEVNi1xYm9tgTvOnQp5HKv88QkYUxht3Zhk32qINoQ==</ECDSA>
</IssuerPrivateKey>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment