commit | 6d487edf1b58ee5e302cd91f58757e49388c939f | [log] [tgz] |
---|---|---|
author | Yecheng Zhao <zyecheng@google.com> | Thu Apr 01 00:19:06 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 01 23:46:42 2021 +0000 |
tree | 5c0db7155303c14d7790726ad9f7981119d00b4f | |
parent | d6bc6df9c40830c69fbfee53ca57df3d70371be0 [diff] |
[tls] Support built-in root cert specified from gn Add support for provisioning built-in certificates speficied from gn build argument. Certificate files are loaded, converted to DER format and then written to a source file as C "const unsigned char[]" array with a API to retrieve them to load into the tls client. These preprocessing are done using python. The script requires pyOpenssl module. Thus the script is made into a python package so that the dependency can be resolved during build. Change-Id: I51f3805f310e07737fd39c333f3360ef4b9973f7 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/39762 Commit-Queue: Yecheng Zhao <zyecheng@google.com> Reviewed-by: Ali Zhang <alizhang@google.com>
This repository contains experimental pigweed modules.
Clone this repo with --recursive
to get all required submodules.
git clone --recursive https://pigweed.googlesource.com/pigweed/experimental
This will pull the Pigweed source repository into third_party/pigweed
. If you already cloned but forgot to --recursive
run git submodule update --init
to pull all submodules.