1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-16 00:43:00 +03:00

Updater signature validation - format incompatible w/RFC8017 (#6250)

* Add hash OID to signature verification (#6201)

* Add legacy signing option

* Describe and use the legacy option of signing.py
This commit is contained in:
Chris van Marle
2019-07-04 12:17:30 +02:00
committed by david gauchard
parent 7036297920
commit 6272b49406
6 changed files with 60 additions and 15 deletions

View File

@ -38,6 +38,7 @@ class UpdaterHashClass {
virtual void end() = 0;
virtual int len() = 0;
virtual const void *hash() = 0;
virtual const unsigned char *oid() = 0;
};
// Abstract class to implement a signature verifier