Commit f5c5422a authored by Sietse Ringers's avatar Sietse Ringers

test: revocation of keyshare enabled credential type

parent fab8e7de
......@@ -86,3 +86,9 @@ func TestIssuanceCombinedMultiSchemeSession(t *testing.T) {
},
}, irma.NewAttributeTypeIdentifier("irma-demo.RU.studentCard.studentID")), "issue", nil)
}
func TestKeyshareRevocation(t *testing.T) {
t.Run("RevocationKeyshare", func(t *testing.T) {
testRevocation(t, revKeyshareTestAttr)
})
}
This diff is collapsed.
......@@ -67,9 +67,8 @@ func StartIrmaServer(t *testing.T, updatedIrmaConf bool) {
DisableSchemesUpdate: true,
SchemesPath: filepath.Join(testdata, irmaconf),
RevocationSettings: map[irma.CredentialTypeIdentifier]*irma.RevocationSetting{
irma.NewCredentialTypeIdentifier("irma-demo.MijnOverheid.root"): {
RevocationServerURL: "http://localhost:48683/",
},
revocationTestCred: {RevocationServerURL: "http://localhost:48683/"},
revKeyshareTestCred: {RevocationServerURL: "http://localhost:48683/"},
},
}
irmaServer, err = irmaserver.New(irmaServerConfiguration)
......@@ -96,9 +95,8 @@ var IrmaServerConfiguration = &requestorserver.Configuration{
SchemesPath: filepath.Join(testdata, "irma_configuration"),
IssuerPrivateKeysPath: filepath.Join(testdata, "privatekeys"),
RevocationSettings: map[irma.CredentialTypeIdentifier]*irma.RevocationSetting{
irma.NewCredentialTypeIdentifier("irma-demo.MijnOverheid.root"): {
RevocationServerURL: "http://localhost:48683/",
},
revocationTestCred: {RevocationServerURL: "http://localhost:48683/"},
revKeyshareTestCred: {RevocationServerURL: "http://localhost:48683/"},
},
},
DisableRequestorAuthentication: true,
......
40d9b529a51b8668b043308fa80098ada4cd028da89e725f886d11e91b4bac3a test/description.xml
64b84af1784434e9cab367a208f8b750fffd8505c76084a296ec5eaaad0c47f2 test/kss-0.pem
7fa61b0769fc6c356f17d9a25ee721e290729b9ae3eadd961467fee24145bb3c test/test/Issues/email/description.xml
2e7f1e8eb148623fbf67087ab8b95be8b4fe9ad77cd725a2a9434037f6b93fb3 test/test/Issues/email/description.xml
61a1fc7f161e43f8fc5b0c6ac2997cfe6bc0da7d27009b9914a04dca79ec6718 test/test/Issues/email/logo.png
c5262df4723863f87bc263eb0f50e8c85053dce93e52afbc2cf34035b30d2df9 test/test/Issues/mijnirma/description.xml
61a1fc7f161e43f8fc5b0c6ac2997cfe6bc0da7d27009b9914a04dca79ec6718 test/test/Issues/mijnirma/logo.png
3571e30777cdf5b97acbb0820f1b69983d2dc2b6bae91c8fb67cfc79ef4e2543 test/test/PublicKeys/0.xml
db0fdbe65ee9519290b756198a0d10b47c2af417e37843a2e790f5cc0e82d282 test/test/PublicKeys/1.xml
0e735a97da70dfe18b3dd3be8d75e5ee8499b626ba469a1c9556740ffd51ba03 test/test/PublicKeys/2.xml
b86326624b2597802ac405d37fd317c3d471d062711f92f4139dcfa9d8336373 test/test/PublicKeys/3.xml
dcad6d3512286ff18555c7b4d6429b188b5fee79c56adfecefd450e4db1486f1 test/test/PublicKeys/3.xml
adc18a59954caeb907b999ab09b710c652665a0b150e5e4a7aff55199a4908dd test/test/description.xml
48f04181af6874a2f63f97d0a1a79b95f274da3e4d0efd9e5936b0ec0858b1cc test/test/logo.png
4d76f6bb3c46e17e230c0afb4481efbb7aa71204bdd5c217411cf1e5cb0ec4fe test/timestamp
c55672b053ecb3c603015145dc5e51eb50aef7b8c1c828c1011763648a8164ff test/timestamp
......@@ -16,6 +16,9 @@
</Description>
<IssueURL><en></en><nl></nl></IssueURL>
<ShouldBeSingleton>false</ShouldBeSingleton>
<RevocationServers>
<RevocationServer>http://localhost:48683/</RevocationServer>
</RevocationServers>
<Attributes>
<Attribute id="email">
......
......@@ -8,4 +8,5 @@
<pPrime>73941158554181480546179343340545558968276066255886215957557265647302359583013620743324192167683164819764202762437920459359772806730465362731105638987647465143975092082005113292432550439450452871110459738970345174925936220775237858156138858099672461391792391859501082255029134704464403985678463732064586841959</pPrime>
<qPrime>78855391850226430002441878511271325301394496120992410858186729138998576076212756212211460122619147180569909825996928643399875856175798717038713962288853122509126975510431835635199142544722762159378927534149853075344144039295731674961683742424159104154620151386656401780797435397821539447645843776834997246221</qPrime>
</Elements>
<ECDSA>MHcCAQEEIGRlMJL1I2xpSzf58+rX3IC8NCkiEmiyy2l7e7nN4314oAoGCCqGSM49AwEHoUQDQgAEuGpNjRlvlcUvF68gy4s/e6TJJgYKoBe7RaiMWF7H0sG0XEVNi1xYm9tgTvOnQp5HKv88QkYUxht3Zhk32qINoQ==</ECDSA>
</IssuerPrivateKey>
\ No newline at end of file
......@@ -6,6 +6,9 @@
<n>23322636126598810404776411113225764510413368205624612002758373907003597606899176628428727770527524539119290730868359621233081935863257641347005494663828716390999349633668908955927704093777575892426720692725488324039334655898445136370687706747695040036591787206962581626672723636542410170090753147239764820657875137245569886396133216058889298443491083459502859241217446844990872409668774572530909018542859487544932384598508341807823824684009211441953899453766172284799857093807146492891689317519329850686302607089491869935819004370291594604951792202011940103156465769575690061194521966223340835600521371553302916124117</n>
<Z>21707588404712428665758967887034812931142213575332120648447480206441318174797547897367358486791709505518760353724662717975206952292188948873130483210039042826957750209099837110601450759342134616841610085168984704326301730297893058768070959622481809652188060324547195043048688850601203340210216815189949560717813543835663404731287334388619823429978373135873707291803995690108237268433999333154262900013470063267292969624829111437193449344921634784464238776051079188531093043485740644370984701096087105105391977786402434506454403468258239868030872962033352232357635465858316751268461717413526238402451582826657060053511</Z>
<S>10234545688678518945518293804016219538376116063941764619724619139712989732454013650993672018128623785173625861192992860218630134654664985949710806211284865560244614487259485039792439045641399376980310466490254300920873434431644312433056819926351670056446711447446625745153347151507454015820285702031317537907550032263409016695974625782151752774278728181616113447928062562389305564143140036210760955551651066455433988167236426374461455322800693586618866071687445456645259326913638490001563928071993234833742376260278193854599618405543896744676950344833929687931780077893593853038511270833646680293010732789186645894573</S>
<G>21885509267110825119759954338325369932339858303821859668729959812528156347511961372428972043977071504071079241877112816893951683163862534319581709257021017980336542152406710488407708385374590718890907775280551714149710932120925989889779245988340430534195195995713553162963324477949467383444191065883737110611520463853330842143285858087521123437315601498962229282357429470995619284042878617494531980971991654926401723246019593716702145047255267620854175251228597108729657929185585219785957857311956812850515027789625170855282936155056428466593796683958466765105720587529513843756641493878729907546907954096485224998642</G>
<H>3446496754770028289812902463567598423179827068398123767331766835761485214821299211534499402003150051513855674855414388486332913730271346466851642240354146330893540357011214860328232165010040101096124282739218937905096796258535852536270566343032305121555098089226401955409093906661177355177458998483108516159196312377815740233517169942244291862183958863746102930567348061032240959227021572702622397183705061122508877087668617393734758537864552410190374970156394594284735709769485551973206669983087560145743228091635972991003725712303732564501474232078413458604438119794560002830169382836161180203421954325557065443862</H>
<T>13785832348927191147048527550835144127746067905594365808051340001423023285200436633649387115880438656256526797298767430503167840215511203388269180355262631958264319440115026036746693264119076162013507443422358689888625958529152262479589399522903006439066870560966134640813997055535458990114183755422994546751133588310509864373754855969421651796227631662023031116667231796937769757934944885394639980973591145673791453458893734876984619707283096559628485036676964410288584033133435436987657033319977161672237555138498558629692410671367661768442246916196934502594528195260741405074477038334997676283794999749180807734843</T>
<Bases num="6">
<Base_0>9732242664928315241944974772203250973050682954167640185647266571242353166006408861926423526282760643292094426878062866455286395952931636255553194990053104570103708902462039853122827011844828706435145471430041874548516627385172917278628164689774087139374280962877439031648615652156562647421188585457930112200227639841868211761438490703367604656545038359400322588968861214600571680250144457299841269224919585658204493724069130661409946289114155814663604565047107156293096245981677758683570342565269038180044705677579503881618286045117359194039386453797009063247201571346526696645218330152056251883124028632031562755046</Base_0>
<Base_1>9224723319406195467980316459045940249216542244291797690912499452433348930399784881725243096897563531609470018749238897254547541179212829974631455325377945967028355349526390163502511129212544331964003771621759163159073085806463256316948407098899045948384033702379817636230842681206632735512749130407649733343854122970521874462350458397089476001350506485545460180884279353920908795154054017755045875163351090250844002297316284143729309913475806144136156544483694031767731313928822681404992204634366635135016076495775419860476713677500677440564197384733700801509313715509238007903802840210110846094453638244948038141361</Base_1>
......@@ -18,4 +21,5 @@
<Features>
<Epoch length="432000"></Epoch>
</Features>
<ECDSA>MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuGpNjRlvlcUvF68gy4s/e6TJJgYKoBe7RaiMWF7H0sG0XEVNi1xYm9tgTvOnQp5HKv88QkYUxht3Zhk32qINoQ==</ECDSA>
</IssuerPublicKey>
\ 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