Comments (2)
I do not understand why you would characterize an (apparently uncaught) exception during certificate parsing as a crash.
Rejecting a GraphicsString CN at parsing time seems entirely appropriate as RFC 5280's DirectoryString
and X520CommonName
types do not include this string type. Thus the certificate could not possibly be valid.
Likewise outright rejecting at parse time a certificate with an invalid UCS-4 encoding seems appropriate since likewise the certificate cannot possibly be valid.
from botan.
Thanks for your reply.
For the GraphicsString CN, I concur with your point. I have previously used CN=<utf8>aa
to match CN=<ia5>aa
(out of DirectoryString
scope), and it was successful. So I used to misunderstand that Botan might not perform strict string-type checking.
And for the UniversalString
case, I think I understand your point. Thanks very much. I found some other libraries will reject (return invalid) while Botan
will throw an exception (abouted
), so I ask the question out of curiosity.
It would indeed be great if everything worked as intended. And many thanks for your reply.
from botan.
Related Issues (20)
- Why do PK_Ops classes return secure_vector for non-private information
- Botan doesn't support large OIDs HOT 1
- ECDSA using SHAKE HOT 4
- Facing retransmission issue while adding delay in the server side in the DTLS implementation
- Invalid BER decoding of OIDs HOT 1
- `./botan tls_server` is lacking a `--trusted-cas=` argument HOT 7
- Replace BigInt based elliptic curve library
- Centralize 'integralish' concept and strong-type unwrapping
- Amalgamation SHA3 missing HOT 2
- CI printing warnings from Boost headers
- The dTLS server (1.2) is not handling properly the re-transmissions in case of delay in flight at server side (we see clientKeyExchange before serverKeyExchange and serverHelloDone)
- secp112r2 unsupported since Hasse bound check HOT 1
- DTLS group handshake messages HOT 6
- Update clang-format rules
- CI needs to test deprecated and experimental builds
- Cipher Mode : Process and Finish are Confusing HOT 2
- Fuzzers and fuzzer documentation could use some love
- Compile-time output length HOT 3
- Internal: load_be/le should accept a BufferSlicer
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 botan.