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

build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.4 to 3.4.5 #321

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2023

Bumps github.com/go-ldap/ldap/v3 from 3.4.4 to 3.4.5.

Release notes

Sourced from github.com/go-ldap/ldap/v3's releases.

v3.4.5

What's New

What's Changed

New Contributors

Full Changelog: go-ldap/ldap@v3.4.4...v3.4.5

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 12, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jun 12, 2023

Codecov Report

Merging #321 (dc6111c) into main (6df5e38) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main     #321   +/-   ##
=======================================
  Coverage   74.80%   74.80%           
=======================================
  Files          23       23           
  Lines        2203     2203           
=======================================
  Hits         1648     1648           
  Misses        437      437           
  Partials      118      118           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

priteshbandi
priteshbandi previously approved these changes Jun 20, 2023
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/go-ldap/ldap/v3-3.4.5 branch from 4cf99fe to dc6111c Compare June 26, 2023 02:10
Two-Hearts
Two-Hearts previously approved these changes Jun 26, 2023
Copy link
Contributor

@Two-Hearts Two-Hearts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Bumps [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) from 3.4.4 to 3.4.5.
- [Release notes](https://github.com/go-ldap/ldap/releases)
- [Commits](go-ldap/ldap@v3.4.4...v3.4.5)

---
updated-dependencies:
- dependency-name: github.com/go-ldap/ldap/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/go-ldap/ldap/v3-3.4.5 branch from dc6111c to b57eb7c Compare June 26, 2023 02:14
Copy link
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@Two-Hearts Two-Hearts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@priteshbandi @JeyJeyGao @Two-Hearts I've read the release notes of v3.4.5. It includes the following change

fix: parsedn not handling attributes with equal char in value by @​james-d-elliott in go-ldap/ldap#425

which is critical to notation-go.

To prevent regression, we need to review the above code change in ldap. I'd like to put this PR on hold until we done the review.

@Two-Hearts
Copy link
Contributor

Two-Hearts commented Jun 26, 2023

I did a review on the code, Notation indeed needs to bump up the ldap/v3 version:
Under current version (github.com/go-ldap/ldap/v3 v3.4.4), trust identity x509.subject: CN=alpine, O=Notary=, L=Seattle, ST=WA, C=US won't work, note the intended value of O is Notary=. However, it would be parsed as Notary with empty value (essentially, the second = is taken as a new separator instead of a part of the value), and the error message from Notation is then distinguished name (DN) has no mandatory RDN attribute for "O", it must contain 'C', 'ST', and 'O' RDN attributes at a minimum. Since Notation's spec on Trusted Identities Constraints does not forbid = in the value, this should be a bug for current Notation.
After bumping up to github.com/go-ldap/ldap/v3 v3.4.5, this issue is fixed. /cc: @shizhMSFT @priteshbandi @JeyJeyGao

@JeyJeyGao
Copy link
Contributor

Built Notation cli based on notation-go with ldap v3.4.5 and passed the E2E test cases, so the basic trust identity setting will still work after the bumping up to ldap v3.4.5.

The PR go-ldap/ldap#425 fixs the issue that also relates to notation, so we need to update it.

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as the ParseDN() has been improved with reviews.

@shizhMSFT
Copy link
Contributor

@dependabot merge

@dependabot dependabot bot merged commit a973c8b into main Jun 26, 2023
6 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/go-ldap/ldap/v3-3.4.5 branch June 26, 2023 08:58
@shizhMSFT shizhMSFT mentioned this pull request Jul 21, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants