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

Fixed typing for caching_sha2_password where misspelt jonServerPublicKey is replaced by onServerPublicKey #2699

Merged
merged 2 commits into from
May 24, 2024

Conversation

johanwestling
Copy link
Contributor

Just a minor character missing as I assume it was supposed to be joinServerPublicKey instead of jonServerPublicKey.

@sidorares
Copy link
Owner

sidorares commented May 24, 2024

hi @johanwestling , thanks for noticing the typo. It should be onServerPublicKey, see how its used here:

pluginOptions.onServerPublicKey(data);

this is the callback which users can pass to be able to cache server public key and use it with initial connection to speed it up ( one less roundtrip ) or make more secure if tls is not used ( password is sent RSA encrypted using the key )

Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.32%. Comparing base (5c75802) to head (59b516b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2699   +/-   ##
=======================================
  Coverage   90.32%   90.32%           
=======================================
  Files          71       71           
  Lines       15727    15727           
  Branches     1340     1339    -1     
=======================================
  Hits        14206    14206           
  Misses       1521     1521           
Flag Coverage Δ
compression-0 90.32% <ø> (ø)
compression-1 90.32% <ø> (ø)
tls-0 89.85% <ø> (ø)
tls-1 90.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@johanwestling johanwestling changed the title Fixed missing i in caching_sha2_password joinServerPublicKey Fixed typing for caching_sha2_password where misspelt jonServerPublicKey is replaced by onServerPublicKey May 24, 2024
@johanwestling
Copy link
Contributor Author

hi @johanwestling , thanks for noticing the typo. In should be onServerPublicKey, see how its used here:

pluginOptions.onServerPublicKey(data);

this is the callback which users can pass to be able to cache server public key and use it with initial connection to speed it up ( one less roundtrip ) or make more secure if tls is not used ( password is sent RSA encrypted using the key )

Sorry for late response, was in transit. Now the joinServerPublicKey is replaced with the correct onServerPublicKey instead.

@wellwelwel wellwelwel merged commit 8b5f691 into sidorares:master May 24, 2024
64 checks passed
@johanwestling johanwestling deleted the patch-1 branch May 24, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants