Files
provisioning_sdk_source/WORKSPACE
Kongqun Yang 84f66d2320 NewProvisioningSession expects pkcs8 private key and SHA race fix
-------------
Fix SHA hashing to remove race condition. This change
fixes the implementation by passing in the digest buffer.

-------------
The input to ProvisioningEngine::NewProvisioningSession should be
pkcs8 private key instead of pkcs1 private key

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=151273394

Change-Id: Ibcdff7757b2ac2878ee8b1b88365083964bfa10a
2017-03-28 14:51:50 -07:00

78 lines
1.8 KiB
Python

workspace(name = "provisioning_sdk")
git_repository(
name = "protobuf_repo",
remote = "https://github.com/google/protobuf.git",
tag = "v3.2.0",
)
git_repository(
name = "boringssl_repo",
commit = "bbcaa15b0647816b9a1a9b9e0d209cd6712f0105", # 2016-07-11
remote = "https://github.com/google/boringssl.git",
)
git_repository(
name = "gflags_repo",
commit = "fe57e5af4db74ab298523f06d2c43aa895ba9f98", # 2016-07-20
remote = "https://github.com/gflags/gflags.git",
)
new_git_repository(
name = "googletest_repo",
build_file = "gtest.BUILD",
commit = "ec44c6c1675c25b9827aacd08c02433cccde7780", # 2016-07-26
remote = "https://github.com/google/googletest.git",
)
new_git_repository(
name = "glog_repo",
build_file = "glog.BUILD",
commit = "0472b91c5defdf90cff7292e3bf7bd86770a9a0a", # 2016-07-13
remote = "https://github.com/google/glog.git",
)
# py_proto_library depends on six indirectly (py_proto_library uses
# protobuf_python as its default runtime which depends on six).
new_http_archive(
name = "six_archive",
build_file = "@protobuf_repo//:six.BUILD",
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
)
bind(
name = "six",
actual = "@six_archive//:six",
)
bind(
name = "protobuf",
actual = "@protobuf_repo//:protobuf",
)
bind(
name = "openssl",
actual = "@boringssl_repo//:crypto",
)
bind(
name = "gflags",
actual = "@gflags_repo//:gflags",
)
bind(
name = "gtest",
actual = "@googletest_repo//:gtest",
)
bind(
name = "gtest_main",
actual = "@googletest_repo//:gtest_main",
)
bind(
name = "glog",
actual = "@glog_repo//:glog",
)