Giter Site home page Giter Site logo

Comments (4)

Lagovas avatar Lagovas commented on June 14, 2024 1

You did a great job, thank you. You are right, flags tls_[ocsp|crl]_from_cert doesn't override default values of tls_[ocsp|crl]_[client|database]_from_cert, and Acra expects explicit overriding values for both parameters.
And you are right, it is unexpected and not documented behavior. We can update documentation and note that users should set empty values for parameters that have a non-empty default value, or we can set an empty default values (what we didn't do due to following our primary approach of secure by default configuration and using the strictest options by default), or we can update logic of parsing configuration options and ignore default values of not-set parameters and use general one if it set.

And we will choose the last option because it simplifies configuration by specifying only one parameter for all related groups of parameters. We will notify you and close this issue after the fix.
Also, thank you for the feedback about not complete documentation about OCSP/CRL related configuration. We will update the documentation too.

from acra.

Burrito5152 avatar Burrito5152 commented on June 14, 2024

📁 acra-issue-615.log

And here are the logs from running it with this configuration (commented out: #tls_ocsp_database_from_cert: ignore)

The problem here is, it works normally once tls_ocsp_database_from_cert: ignore is set (uncommented).
I believe it should work normally just because tls_ocsp_from_cert: ignore is set because that is the documented behaviour.

Lines such as this, do not appear when the setting is uncommented (problem behaviour doesn't happen):
time="2022-12-22T05:09:24Z" level=debug msg="OCSP: appending server http://r3.o.lencr.org, from cert"
In fact, no mention of OCSP appears in the log in this case.

from acra.

Lagovas avatar Lagovas commented on June 14, 2024

The documentation wasn't updated yet. Will close after that.

from acra.

Lagovas avatar Lagovas commented on June 14, 2024

We have updated docs and fixed cli args processing.
Thanks for contribution

from acra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.