Skip to content

Conversation

@jmetrikat
Copy link
Collaborator

@jmetrikat jmetrikat commented Oct 28, 2025

Refactored auth create and auth login commands to use a bot account key for authentication instead of a mnemonic phrase.

@linear
Copy link

linear bot commented Oct 28, 2025

GO-6131 Adjust auth to enable login with alternative to mnemonic

Allow bot account login with b64 of private key or similar

@jmetrikat jmetrikat requested a review from Copilot October 31, 2025 11:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates dependencies to newer versions and migrates the authentication mechanism from mnemonic phrase-based to bot account key-based authentication.

Key Changes:

  • Updates core dependencies (any-sync, anytype-heart, ipfs, libp2p, etc.) to newer versions
  • Replaces mnemonic-based authentication with bot account key authentication throughout the codebase
  • Adds a new function to display the anytype-heart version in the CLI version output

Reviewed Changes

Copilot reviewed 25 out of 26 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod, go.sum Updates all dependencies to newer versions including any-sync, anytype-heart, ipfs/boxo, libp2p, and various Go standard library packages
core/auth.go Replaces mnemonic authentication with bot account key authentication, updates API calls to use AccountKey instead of Mnemonic
core/keyring.go Removes mnemonic storage functions and replaces with bot account key storage functions
core/version.go Adds GetHeartVersion() function to display the embedded anytype-heart version
cmd/auth/*.go Updates all auth commands to use bot account key terminology and parameters
cmd/cmdutil/args.go Adds new ExactArgs helper function with custom error messages
Makefile Consolidates installation to user-local installation only, removes system-wide install targets
README.md, CLAUDE.md Updates documentation to reflect user service terminology and bot account authentication

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jmetrikat jmetrikat merged commit 97f6e57 into main Nov 2, 2025
2 checks passed
@jmetrikat jmetrikat deleted the go-6131-accountkey-authentication-support branch November 2, 2025 12:43
jsandai pushed a commit to jsandai/anytype-cli that referenced this pull request Jan 30, 2026
…tication-support

AccountKey Authentication Support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants