Stepan Goremykin
910617bbc3
Remove redundant 'else' keywords
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Bond_009
5265b3eee7
Replace PBKDF2-SHA1 with PBKDF2-SHA512
...
This also migrates already created passwords on login
Source for the number of iterations:
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
3 years ago
Bond-009
6f17a0b7af
Remove legacy auth code ( #1677 )
...
* Remove legacy auth code
* Adds tests so we don't break PasswordHash (again)
* Clean up interfaces
* Remove duplicate code
* Use auto properties
* static using
* Don't use 'this'
* Fix build
5 years ago
Bond_009
efc4805233
Fix login
5 years ago
Bond_009
5eaf5465a5
Check checksum for plugin downloads
...
* Compare the MD5 checksum when downloading plugins
* Reduced log spam due to http requests
* Removed 'GetTempFileResponse' function from HttpClientManager
* Fixed caching for HttpClientManager
5 years ago
Bond_009
0f897589ed
Streamline authentication proccess
5 years ago
Bond_009
defc5f1cf9
Force LF line endings
6 years ago
Phallacy
8f4895e8a5
more fixes for perf and style
6 years ago
Bond-009
c31b0b311b
Apply suggestions from code review
...
more minor fixes before I do larger fixes
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Phallacy
bef665be36
Minor fixes to address style issues
6 years ago
Phallacy
2c26517172
minor style fixes
6 years ago
Phallacy
6bbb968b57
minor changes and return to netstandard
6 years ago
Phallacy
48e7274d37
added justaman notes, fixed new bug from emty has removals
6 years ago
Phallacy
77602aff88
Minor fixes re:PR870, added null checks from PR876
6 years ago
Phallacy
05bbf71b6d
sha256 with salt auth and sha1 interop
6 years ago
Phallacy
4519ce26e2
Upgrade crypto provider, retarget better framework
6 years ago