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

Refer to X.509, not (x|X)509 #324

Merged
merged 3 commits into from
Aug 9, 2022
Merged

Refer to X.509, not (x|X)509 #324

merged 3 commits into from
Aug 9, 2022

Conversation

gregcorbett
Copy link
Member

@gregcorbett gregcorbett commented Feb 3, 2022

It's more technically correct, (the best kind of correct), and brings the naming of the X.509 API credential in line with the X.509 user credential (#294).

so we should merge/release it:

@gregcorbett
Copy link
Member Author

As @ineilson said in #260, a follow up pass of (x|X)509 -> X.509 will be needed after #284.

@gregcorbett
Copy link
Member Author

I've rebased this on top of the latest dev, but it still needs a second pass.

@gregcorbett gregcorbett changed the title Refer to X.509 for API credentials, not (x|X)509 Refer to X.509, not (x|X)509 Jul 8, 2022
@gregcorbett gregcorbett force-pushed the X.509 branch 2 times, most recently from a1d1cf0 to f9799fe Compare July 8, 2022 10:07
@gregcorbett
Copy link
Member Author

I have now done a second, wider, pass.

@gregcorbett gregcorbett marked this pull request as ready for review July 8, 2022 14:15
@gregcorbett gregcorbett requested a review from a team as a code owner July 8, 2022 14:15
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

We should probably be correct (if I'm right) for the regex.

config/gocdb_schema.xml Outdated Show resolved Hide resolved
lib/Gocdb_Services/User.php Show resolved Hide resolved
@gregcorbett
Copy link
Member Author

I'm resisting tackling the codeclimate issues as part of this PR because it's like pulling a thread from a tapestry.

@gregcorbett gregcorbett requested a review from a user July 11, 2022 15:54
@tofu-rocketry
Copy link
Member

The commit message on 3e6f7be doesn't at all match or explain what the commit is actually doing.

@gregcorbett
Copy link
Member Author

The commit message on 3e6f7be doesn't at all match or explain what the commit is actually doing.

I have changed this commit message, it's now 4cbcdca.

gregcorbett added a commit to gregcorbett/gocdb that referenced this pull request Aug 8, 2022
- it's more technically correct, the best kind of correct
- brings API credentials in line with other (GOCDB#294) around
  user credentials and account linking
- this does "break" API access for existing credentials (until
  they next get edited), so we should release it:
  - after GOCDB#260
  - maybe after GOCDB#294
  - at the same as GOCDB#284, as users will have to edit API
    credentials anyway
- the code and ancient todo list reference X.509 so came up in
  my grep-ing.
- the slash is needed to prevent matching things like
  X+509, though the portal currently prevents such strings
  getting this far.

Co-authored-by: ineilson <[email protected]>
@gregcorbett
Copy link
Member Author

Rebased to resolve conflicts

@gregcorbett gregcorbett merged commit f6d4a1b into GOCDB:dev Aug 9, 2022
@gregcorbett gregcorbett deleted the X.509 branch August 9, 2022 09:35
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