aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sha3/sha3.cpp
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2017-05-19 12:21:30 +0200
committerDaniel Neus <[email protected]>2017-05-19 12:33:03 +0200
commit9618c63002b2c620affea5f4475d275ce7c46643 (patch)
tree2fd1356654aa64d08ff2927edb6da7974ff95ab1 /src/lib/hash/sha3/sha3.cpp
parent2f53dc937f33816445c7646b88e0ad826d197482 (diff)
fix pathLenConstraint validation
Fixes GH #991 The problem with the current implementation of the chain validation code is that is runs from the end certificate to the trust cert. @securitykernel and me tried to fix the pathLenConstraint validation within this reverse loop but we were not sure if we missed some edge cases. So we felt safer to use the algorithm listed in RFC 5280 which executes from the top to the bottom. It's probably best to rewrite the code to use the whole algorithm from RFC 5280, i.e. validating the chain from the trust to the end cert. Additionally, we wrote some tests including the one that raised this issue initially.
Diffstat (limited to 'src/lib/hash/sha3/sha3.cpp')
0 files changed, 0 insertions, 0 deletions