Skip to content

Improve password management in transfer create#13

Merged
HanXHX merged 3 commits intomasterfrom
pass_confirmation
Mar 1, 2026
Merged

Improve password management in transfer create#13
HanXHX merged 3 commits intomasterfrom
pass_confirmation

Conversation

@HanXHX
Copy link
Copy Markdown
Contributor

@HanXHX HanXHX commented Mar 1, 2026

  • Add password confirmation (when prompted)
  • Add flag to autogenerate passphrase (and displayed in console)

Copilot AI review requested due to automatic review settings March 1, 2026 09:42
Copy link
Copy Markdown
Contributor

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 improves retyc transfer create passphrase handling by adding interactive confirmation when the user is prompted, and by introducing an option to auto-generate a secure random passphrase and display it after the transfer is created.

Changes:

  • Added --generate-passphrase flag to generate a secure random transfer passphrase and print it after completion.
  • Added passphrase confirmation when prompting interactively.
  • Updated README command description to document the new flag.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
cmd/transfer.go Adds passphrase generation + printing, interactive confirmation, and a mutually-exclusive flag pairing with --passphrase.
README.md Documents the new --generate-passphrase option on the transfer create command.

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

Comment thread cmd/transfer.go
Comment thread cmd/transfer.go
@HanXHX HanXHX merged commit bf30489 into master Mar 1, 2026
8 checks passed
@HanXHX HanXHX deleted the pass_confirmation branch March 2, 2026 16:46
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