-
Notifications
You must be signed in to change notification settings - Fork 5
AccountKey Authentication Support #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
GO-6131 Adjust auth to enable login with alternative to mnemonic
Allow bot account login with b64 of private key or similar |
There was a problem hiding this 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.
…tication-support AccountKey Authentication Support
Refactored
auth createandauth logincommands to use a bot account key for authentication instead of a mnemonic phrase.