oracle / oracle/oci-cli

New SSH API Key without password is not accepted with release 3.2.0

Open
#605 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

OCI CLI 3.2.0 on Oracle Linux 8 on OCI - the oci setup config process does not allow passwordless SSH keys anymore:

Enter a directory for your keys to be created [/home/steampipe/.oci]:
Enter a name for your key [oci_api_key]:
File /home/steampipe/.oci/oci_api_key_public.pem already exists, do you want to overwrite? [y/N]: y
Public key written to: /home/steampipe/.oci/oci_api_key_public.pem
Enter a passphrase for your private key (empty for no passphrase): -> press enter
Repeat for confirmation:
Repeat for confirmation:
Repeat for confirmation:
Repeat for confirmation:
Repeat for confirmation:
Repeat for confirmation:

OCI CLI was installed by:
bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"

OCI CLI version:

$ oci --latest-version
3.20.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the passwordless-key case through the oci setup config command on the reported OCI CLI and Oracle Linux setup. Trace the passphrase prompt and confirmation handling in that command's implementation; done means pressing Enter for an empty passphrase completes successfully without repeated prompts.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.