Skip to content

datumctl on Linux: failed to get active user from keyring #59

@drewr

Description

@drewr

Getting this on an Ubuntu machine:

% ./result/bin/datumctl
panic: failed to get token source: failed to get active user from keyring: failed to unlock correct collection '/org/freedesktop/secrets/aliases/default'

goroutine 1 [running]:
go.datum.net/datumctl/internal/cmd.RootCmd()
        go.datum.net/datumctl/internal/cmd/root.go:38 +0xc3a
main.main()
        go.datum.net/datumctl/main.go:15 +0x32
% uname -a
Linux dev-a28a26 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
% cat /etc/issue.net
Ubuntu 24.04.3 LTS

I had claude create a patch but wanted to verify if this is a generic go-keyring issue or I'm doing something wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions