6 Commits

Author SHA1 Message Date
Andrey Smirnov
96aa9638f7
chore: rename talos-systems/talos to siderolabs/talos
There's a cyclic dependency on siderolink library which imports talos
machinery back. We will fix that after we get talos pushed under a new
name.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-11-03 16:50:32 +04:00
Andrey Smirnov
ceb0cd99ae
feat: implement Talos API auth using SideroV1 signatures
This uses https://github.com/siderolabs/go-api-signature as an
actual implementation.

PGP keys generated will be stored under `~/.local/share/talos/keys` for
Linux.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-10-21 20:24:07 +04:00
Dmitriy Matrenichev
fc48849d00
chore: move maps/slices/ordered to gen module
Use github.com/siderolabs/gen

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-09-21 20:22:43 +03:00
Artem Chernyshev
1c0977b3af
fix: change the type of returned gRPC connection object from the client
`client.Conn()` now returns `*grpc.ClientConn` instead of
`gprc.ClientConnInterface`.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2022-08-30 16:55:13 +03:00
Artem Chernyshev
41848e4214
fix: expose Talos client gRPC connection via the function Conn
Previously we had `GetConn` public function, need something similar.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2022-08-30 15:11:37 +03:00
Philipp Sauter
f37da96ef3
feat: enable talos client to connect to Talos through an auth proxy
Talos client can connect to Talos API via a proxy with basic auth.
Additionally it is now optional to specify a TLS CA,key or crt. Optionally
Developers can build talosctl with WITH_DEBUG=1 to allow insecure
connections when http:// endpoints are specified.

Fixes #5980

Signed-off-by: Philipp Sauter <philipp.sauter@siderolabs.com>
2022-08-15 18:05:26 +02:00