Comments (2)
also in go
oasis-core/go$ go get -u google.golang.org/grpc/security/advancedtls
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
go: upgraded golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 => v0.0.0-20220722155217-630584e8d5aa
go: upgraded google.golang.org/grpc v1.47.0 => v1.48.0
go: upgraded google.golang.org/grpc/security/advancedtls v0.0.0-20200902210233-8630cac324bf => v0.0.0-20220809175018-7981af402b23
go: upgraded google.golang.org/protobuf v1.28.0 => v1.28.1
...
make
...
# github.com/oasisprotocol/oasis-core/go/common/grpc
common/grpc/credentials.go:46:3: unknown field 'Certificates' in struct literal of type advancedtls.ClientOptions
common/grpc/credentials.go:47:3: unknown field 'GetClientCertificate' in struct literal of type advancedtls.ClientOptions
from oasis-core.
possibly something like
--- a/go/common/grpc/credentials.go
+++ b/go/common/grpc/credentials.go
@@ -43,9 +43,11 @@ type ClientOptions struct {
// NewClientCreds creates new client TLS transport credentials.
func NewClientCreds(opts *ClientOptions) (credentials.TransportCredentials, error) {
return advancedtls.NewClientCreds(&advancedtls.ClientOptions{
- Certificates: opts.Certificates,
- GetClientCertificate: opts.GetClientCertificate,
- VType: advancedtls.SkipVerification,
+ IdentityOptions: advancedtls.IdentityCertificateOptions{
+ Certificates: opts.Certificates,
+ GetIdentityCertificatesForClient: opts.GetClientCertificate,
+ },
+ VType: advancedtls.SkipVerification,
VerifyPeer: func(params *advancedtls.VerificationFuncParams) (*advancedtls.VerificationResults, error) {
var err error
keys := opts.ServerPubKeys
from oasis-core.
Related Issues (20)
- CHURP constant time
- Nodes could cache received checkpoints even when not checkpointing
- Only apply new key manager policy at epoch boundary
- Make storage request more peers if no checkpoints can be found
- Separate storage checkpoint sync p2p protocol
- Optimize checkpoint creation
- Remove the plugin signer
- Explore enabling QUIC for the P2P layer
- P2P distribution system for runtime bundles
- Very light nodes
- Cache RA collateral (PCKs, TCB infos) in an on-chain registry
- Support arbitrary addresses to own entities
- Support concurrent key manager client requests
- Fetch CHURP key shares concurrently
- Key manager enclaves should verify committee membership
- Retain previous CHURP shareholder to prevent query failures
- Zeroize sensitive CHURP data HOT 1
- Bump CometBFT to v0.37.9
- Support bundle components without ELF binary
- test
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 oasis-core.