Skip to content
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

Ruby client uses basic authentication for API key rotation events #181

Closed
1 of 5 tasks
sgnn7 opened this issue Oct 20, 2020 · 4 comments
Closed
1 of 5 tasks

Ruby client uses basic authentication for API key rotation events #181

sgnn7 opened this issue Oct 20, 2020 · 4 comments

Comments

@sgnn7
Copy link
Contributor

sgnn7 commented Oct 20, 2020

Summary

Nightly builds have started to fail in our CI/CD pipelines and the error is reproducible locally.

Errors are:

  • cucumber features/host.feature:14 # Scenario: API key of a a host can be rotated.
  • SimpleCov failed with exit 1Coverage report generated for Cucumber Features, RSpec to /src/conjur-api/coverage/coverage.xml. 1415 / 1538 LOC (92.0%) covered.

Steps to Reproduce

  1. Check out repo locally
  2. Run ./test.sh

Expected Results

Passing tests

Actual Results (including error logs, if applicable)

Tests fail

Reproducible

  • Always
  • Sometimes
  • Non-Reproducible

Version/Tag number

Latest

Environment setup

Jenkins and local macOS env

Additional Information

The problem may have been caused by server behavior change in regards to rotation of API keys that can be found here.

@izgeri
Copy link
Contributor

izgeri commented Oct 20, 2020

Note: this is likely related to changes made in the v1.9.0 release of Conjur.

It would be good to understand whether other clients are also impacted, but may not have appropriate test coverage to catch the issue.

@sgnn7
Copy link
Contributor Author

sgnn7 commented Oct 20, 2020

@izgeri So far:

  • Golang: Has tests. Unknown how they relate to the code change.
  • Python3: Doesn't support rotation of key
  • Java: Doesn't seem to support rotation of key
  • .NET: Doesn't seem to support rotation of key
  • Powershell: Java: Doesn't seem to support rotation of key
  • JS: N/A

@izgeri
Copy link
Contributor

izgeri commented Oct 21, 2020

Noting that an issue was discovered in Conjur CLI, that appears to be related since the CLI uses this Ruby library.

@izgeri izgeri changed the title Build failures in CI environment Ruby client uses basic authentication for API key rotation events Oct 22, 2020
@sgnn7
Copy link
Contributor Author

sgnn7 commented Oct 29, 2020

Closing via #182

@sgnn7 sgnn7 closed this as completed Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants