
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
github.com/riza-io/grpc-go
Shared libraries and tools for Go gRPC services
Usage: go get github.com/riza-io/go-grpc
In your client:
opts := []grpc.DialOption{
grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{})),
grpc.WithPerRPCCredentials(bearer.NewPerRPCCredentials("your bearer token")),
}
conn, err := grpc.Dial(hostname+":443", opts...)
Get a token from within your service handler:
token, err := bearer.TokenFromContext(ctx)
In your client:
opts := []grpc.DialOption{
grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{})),
grpc.WithPerRPCCredentials(basic.NewPerRPCCredentials("your user-id", "your password")),
}
conn, err := grpc.Dial(hostname+":443", opts...)
Get basic auth credentials from within your service handler:
creds, err := basic.CredentialsFromContext(ctx)
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.