]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Validate SignedObject DER encoding using incidences schema.
authorpcarana <pc.moreno2099@gmail.com>
Thu, 24 Oct 2019 15:46:26 +0000 (10:46 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Thu, 31 Oct 2019 19:19:04 +0000 (13:19 -0600)
commit892e37dd9907238b473f530090f4f7423beefecb
tree9bb8f21d6df5ff2e31e279b57bd21ce8d8d424f0
parente1ac8a60156aaca73df6b7b6597b847818f5a060
Validate SignedObject DER encoding using incidences schema.

-asn1c doesn't have a DER decoder, but it has DER encoders. Once the data is BER decoded, encode it again as DER and compare against the original data, the difference (if there's one) will be at ASN1 TLVs.
-Create new incidence 'incid-obj-not-der-encoded' to handle such error.
-Update docs: RFC 6488 100% compliance, new incidence description.
-Add new incidence to configuration example (examples/config.json).
14 files changed:
docs/incidence.md
docs/intro-fort.md
docs/usage.md
examples/config.json
man/fort.8
src/asn1/content_info.c
src/asn1/decode.c
src/asn1/decode.h
src/asn1/signed_data.c
src/incidence/incidence.c
src/incidence/incidence.h
src/object/certificate.c
src/object/manifest.c
src/object/roa.c