diff --git a/deployments/archie/deploy.sh b/deployments/archie/deploy.sh index 93dd13462..ecb29ca54 100755 --- a/deployments/archie/deploy.sh +++ b/deployments/archie/deploy.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Deploys the single binary's stack to a host over ssh: deploy.sh root@nebula. +# Deploys the single binary's stack to a host over ssh: deploy.sh root@staging-host. # The first run creates the secrets on the host; they never leave it. set -euo pipefail diff --git a/modules/connectors/internal/seal/seal_test.go b/modules/connectors/internal/seal/seal_test.go index 8b629733e..760d4a518 100644 --- a/modules/connectors/internal/seal/seal_test.go +++ b/modules/connectors/internal/seal/seal_test.go @@ -19,7 +19,7 @@ func TestSealedValueOpensOnlyWhereItBelongs(t *testing.T) { t.Fatal(err) } secret := []byte("plainly fake private key") - sealed, err := sealer.Seal("default/carina", secret) + sealed, err := sealer.Seal("default/host-a", secret) if err != nil { t.Fatal(err) } @@ -33,10 +33,10 @@ func TestSealedValueOpensOnlyWhereItBelongs(t *testing.T) { label string wantErr error }{ - {name: "own identity, own label", with: own, label: "default/carina"}, - {name: "backup identity", with: backup, label: "default/carina"}, - {name: "copied to another record", with: own, label: "default/nebula", wantErr: ErrWrongLabel}, - {name: "a stranger's identity", with: stranger, label: "default/carina", wantErr: age.ErrIncorrectIdentity}, + {name: "own identity, own label", with: own, label: "default/host-a"}, + {name: "backup identity", with: backup, label: "default/host-a"}, + {name: "copied to another record", with: own, label: "default/host-b", wantErr: ErrWrongLabel}, + {name: "a stranger's identity", with: stranger, label: "default/host-a", wantErr: age.ErrIncorrectIdentity}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {