Skip to content

Conversation

@Shane32
Copy link
Member

@Shane32 Shane32 commented Mar 1, 2023

No description provided.

@Shane32 Shane32 self-assigned this Mar 1, 2023
var keyBytes = Convert.FromBase64String(key);
// create a ECDsa key pair and import the key
using var ecdsa = ECDsa.Create();
var ecdsa = ECDsa.Create(); // do not dispose the instance (it is used by the security key)

Check warning

Code scanning / CodeQL

Missing Dispose call on local IDisposable

Disposable 'ECDsa' is created but not disposed.
@Shane32 Shane32 merged commit 9cc6346 into master Mar 3, 2023
@Shane32 Shane32 deleted the jwthelper_update branch March 3, 2023 17:33
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.

3 participants