···2929 // The encoding format is curve-specific, and is generally "compact" for private keys.
3030 // No ASN.1 or other enclosing structure is applied to the bytes.
3131 Bytes() []byte
3232+3333+ // NOTE: should Multibase() (string, error) be part of this interface? Probably.
3234}
33353436// Common interface for all the supported atproto cryptographic systems.
+12-9
atproto/identity/cmd/atp-id/main.go
···2020 }
2121 app.Commands = []*cli.Command{
2222 &cli.Command{
2323- Name: "lookup",
2424- Usage: "fully resolve an at-identifier (DID or handle)",
2525- Action: runLookup,
2323+ Name: "lookup",
2424+ Usage: "fully resolve an at-identifier (DID or handle)",
2525+ ArgsUsage: "<at-identifier>",
2626+ Action: runLookup,
2627 },
2728 &cli.Command{
2828- Name: "resolve-handle",
2929- Usage: "resolve a handle to DID",
3030- Action: runResolveHandle,
2929+ Name: "resolve-handle",
3030+ Usage: "resolve a handle to DID",
3131+ ArgsUsage: "<handle>",
3232+ Action: runResolveHandle,
3133 },
3234 &cli.Command{
3333- Name: "resolve-did",
3434- Usage: "resolve a DID to DID Document",
3535- Action: runResolveDID,
3535+ Name: "resolve-did",
3636+ Usage: "resolve a DID to DID Document",
3737+ ArgsUsage: "<did>",
3838+ Action: runResolveDID,
3639 },
3740 }
3841 h := slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{Level: slog.LevelDebug})