Add extensions signature secure bazel flag and pre-processor maco

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add the config flag 'extensions_signature_verification_secure' to bazel bazel/config/BUILD.bazel file. Make sure it is false be default (with 'build_setting_default = False'). Create an alias for the flag like all others. Set the flag to true in the public-release config

       

      Then add a preprocessor macro called 'MONGO_CONFIG_EXT_SIG_SECURE' in the src/mongo/BUILD.bazel file. To do this well need to make a config_setting in bazel/config/BUILD.bazel called 'extensions_signature_verification_secure_enabled' which should be true if release is true OR 'extensions_signature_verification_secure' is true. Im not exactly sure how to implement the OR condition, but I assume it must be possible.

            Assignee:
            Joe Shalabi
            Reporter:
            Joe Shalabi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: