DEV Community

loading...

Discussion on: Selenium Testing - How to sign in to Two-factor authentication?

Collapse
j_sakamoto profile image
jsakamoto Author

I'm not sure about it at this time, but we can inspect the "Otp.NET" NuGet package is safe or not.

You can download "Otp.NET" NuGet package file ("otp.net.1.2.0.nupkg") manually from nuget.org site.
(Find a "Download Package" link at the right side of "nuget.org/packages/Otp.NET/" page.)

The NuGet package file is actually simple zip file, so you can change the extension of the package file from ".nupkg" to ".zip", and extract it to get .dll file.

After you get .dll file, you can decompile it into C# source codes by using ILSpy (clickonceget.azurewebsites.net/app...) or some tools else.

So you can inspect what "Otp.NET" does.

Another way, you can access "Otp.NET" GitHub repository (github.com/kspearrin/Otp.NET) , and get source code, and build "Otp.NET" yourself from those source code.

At last, the works that "Otp.NET" does is not so difficult, therefore, you can implement MFA code calculation program yourself from scratch.

Repeatably, I'm not sure about "Otp.NET" NuGet package is safe or not.
Please make decision by your responsibly.