From 270407a1aa84a6018c6d855d50031dd9caf68704 Mon Sep 17 00:00:00 2001 From: Ehsan Faraji-Jalal Date: Wed, 12 May 2021 21:13:10 +1200 Subject: [PATCH] use id card number as revocationkey --- src/id-card/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/id-card/index.html b/src/id-card/index.html index 1d55f54..03932df 100644 --- a/src/id-card/index.html +++ b/src/id-card/index.html @@ -223,7 +223,7 @@ }, saveIdCard: function () { console.log('saveIdCard'); - this.idCardToIssue['revocationKey'] = luxon.DateTime.now().toUTC().toMillis().toString(); + this.idCardToIssue['revocationKey'] = this.idCardToIssue.number; const self = this; return irmaIssueCredential(CREDENTIAL.ID_CARD_ID_CARD, this.idCardToIssue, HEADER_MESSAGES.ISSUE_ID_CARD_ID_CARD) .then((_) => {