mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-13 04:18:34 +00:00
feat(BRIDGE-424): FIDO2 GUI support.
This commit is contained in:
@ -306,8 +306,7 @@ func (t *testCtx) initFrontendClient() error {
|
||||
target = fmt.Sprintf("%v:%d", constants.Host, cfg.Port)
|
||||
}
|
||||
|
||||
conn, err := grpc.DialContext(
|
||||
context.Background(),
|
||||
conn, err := grpc.NewClient(
|
||||
target,
|
||||
grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{RootCAs: cp, ServerName: "127.0.0.1"})),
|
||||
grpc.WithUnaryInterceptor(func(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error {
|
||||
|
||||
Reference in New Issue
Block a user