gotextlog

gotextlog
git clone https://git.ryansepassi.com/git/gotextlog.git
Log | Files | Refs | README

commit 26a76acb1fb430855e2626d8bd8eef823a3a1b0e
parent 45f8ce2388551924c62436eb4e69326ddc0e38b2
Author: Ryan Sepassi <rsepassi@gmail.com>
Date:   Wed, 26 Aug 2026 05:41:21 -0700

Test repeat SSH key login

Diffstat:
Minternal/tui/server_e2e_test.go | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/internal/tui/server_e2e_test.go b/internal/tui/server_e2e_test.go @@ -69,6 +69,11 @@ func TestServerEndToEndWithTwoTUIBackends(t *testing.T) { if err != nil || bobLogin.Me == nil || bobLogin.Me.Handle != "bob" { t.Fatalf("register bob: result=%#v err=%v", bobLogin, err) } + alice = NewClientBackendWithKeySource(textlog.NewClient(baseURL, "", nil), aliceKeys) + aliceLogin, err = alice.Execute(ctx, Operation{Kind: OpKeyLogin, Key: aliceKeys.key}) + if err != nil || aliceLogin.Me == nil || aliceLogin.Me.Handle != "alice" { + t.Fatalf("login existing alice key: result=%#v err=%v", aliceLogin, err) + } if _, err := bob.Execute(ctx, Operation{Kind: OpFollow, Handle: "alice", Enabled: true}); err != nil { t.Fatalf("bob follows alice: %v", err)