Comments (5)
Grazie @mastro993! @valeprog ho rilasciato ieri la versione 0.7.0 dell'SDK con diversi improvement sulla DRL e la nuova modalità booster per qualsiasi domanda relativa apri pure nuove issue. Buon lavoro!
from verificac19-sdk.
perfetto grazie!
from verificac19-sdk.
Ciao @valeprog!
Ll'SDK permette già lo scaricamento e caching della lista dei certificati revocati, quindi la normale procedura di verifica di un certificato include anche il controllo per la revoca.
Come da esempio:
// Ottieni il certificat
const myDCC = await Certificate.fromImage('./data/myDCC.png');
// oppure
const myDCC = await Certificate.fromRaw('HC1:6BF+70790T9WJWG.FKY*4GO0.O1CV2...etc..');
// e poi lo validi
const validationResult = await Validator.validate(myDCC);
In validationResult.code
troverai il valore REVOKED
in caso di certificato revocato.
Assicurati di aver prima aggiornato la relativa lista dei certificati revocati, altrimenti non potrà avvenire il controllo (e la conseguente validazione del certificato).
await Service.updateAll();
Spero di esserti stato di aiuto.
from verificac19-sdk.
Ho un'altra domanda:
i certificati revocati vengono scaricati da quì https://get.dgc.gov.it/v1/dgc/settings?
from verificac19-sdk.
Si e no: da li viene presa la lista delle regole utilizzata per la validazione, tra cui una la lista degli UVCI (identificativo del certificato) bloccati, ovvero (credo) quei UVCI che sono in circolazione ma che non devono essere riconosciuti per diversi motivi.
Ciò che cerchi tu è la lista dei certificati revocati e riabilitati ed è presa da https://get.dgc.gov.it/v1/dgc/drl.
from verificac19-sdk.
Related Issues (20)
- Redis as CRL manager HOT 2
- Please explain database and cache use HOT 7
- Test Green Pass HOT 5
- updateSignatures function fails for 502 error HOT 1
- Modalità work e Gestione Green Pass over 50 HOT 4
- Spongebob cert is still valid? HOT 2
- Verification with Validator.validate() during Service.updateAll() ? HOT 3
- Third doses Moderna Green Pass Certificates validated as TEST_NEEDED with VISITORS_RSA scan mode HOT 3
- Get EMA list from settings
- Inserire l'apposito header User-agent nelle richieste verso le API HOT 1
- è giusto settare endNow in questa maniera, diversamente da startNow? HOT 2
- Regole per validità GreenPass 540 giorni errata HOT 8
- Verifica del vaccino Novavax non valida HOT 4
- Rimuovere la modalità lavoro che diventerà base
- Cache is not ready! HOT 5
- Nuova modalità Ingresso IT HOT 1
- Discrepanza con app c19 HOT 2
- Rimozione modalità ingresso IT
- Validation error for recently issued recovery Green Pass HOT 4
- Aggiornamento core per allineamento a release DGC-SDK Android/Kotlin 1.1.11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verificac19-sdk.