Description of problem
Analysis Succeeded or Completed for the attached Source Private key/Passphrase user credentials where random Private Key Passphrase was provide.
Note: Passphrase was not attached to the key while creating the SSH key.
(write description)
How reproducible
(Always/Intermittent)
Steps to Reproduce:
- step 1 Create Source Credential>>Source Private Key/Passphrase
- step 2 Enter any random into Private Key Passphrase field
- step 3 Create an Analysis and attach this Source credential and Observe the Analysis Status
Actual results
Analysis Completed
Expected results
Apart from the Passphrase attached to the account no other key/data should be allowed.
Additional info
{"id":27,"createUser":"","updateUser":"","createTime":"2022-09-28T16:41:56.61051537Z","name":"karishma-123.12.windup","addon":"windup","data":{"mode":
{"artifact":"","binary":false,"diva":false,"withDeps":false},"output":"/windup/report","rules":{"path":"","tags":{"excluded":[]}},"scope":{"packages":
{"excluded":[],"included":[]},"withKnown":false},"sources":[],"targets":["cloud-readiness"]},"application":
{"id":12,"name":"karishma-123"},"state":"Succeeded","image":"quay.io/konveyor/tackle2-addon-windup:v2.1.1","bucket":"/buckets/ef082876-cf23-48db-9eb9-88b857f2ff5d","started":"2022-09-28T16:41:57.277062129Z","terminated":"2022-09-28T16:43:00.282623932Z","pod":"konveyor-tackle/task-27-5d6mg","report":{"id":23,"createUser":"","updateUser":"","createTime":"2022-09-28T16:42:04.760609929Z","status":"Succeeded","error":"","total":2,"completed":2,"activity":["Fetching application.","[CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.1","[CMD] succeeded.","[SSH] Agent started.","[GIT] Cloning: git@github.com:konveyor/tackle-testapp.git","[CMD] Running: /usr/bin/rm -rf /working/tackle-testapp","[CMD] succeeded.","[GIT] Using credentials (id=3) karishma.","[FILE] Created /working/.gitconfig.","[SSH] Adding key: karishma","[CMD] Running: /usr/bin/ssh-add /working/.ssh/id_3","[CMD] succeeded.","[CMD] Running: /usr/bin/ssh-keyscan github.com","[CMD] succeeded.","[FILE] Created /working/.ssh/id_3.","[CMD] Running: /usr/bin/git clone git@github.com:konveyor/tackle-testapp.git /working/tackle-testapp","[CMD] succeeded.","[CMD] Running: /usr/bin/rm -rf /buckets/4dbd842e-d81a-49f6-bacd-98ecaceb34b1/windup/report","[CMD] succeeded.","[Windup] created: /buckets/4dbd842e-d81a-49f6-bacd-98ecaceb34b1/windup/report.","[CMD] Running: /opt/windup --batchMode --output /buckets/4dbd842e-d81a-49f6-bacd-98ecaceb34b1/windup/report --input /working/tackle-testapp --target cloud-readiness --userRulesDirectory /buckets/ef082876-cf23-48db-9eb9-88b857f2ff5d","[CMD] succeeded."],"task":27}}
- mentioned on