Skip to content

Automatically account lockout after some attempts to login with wrong password - #12578

Merged
molotkov-and merged 10 commits into
ydb-platform:mainfrom
molotkov-and:fstec/account-lockout
Dec 20, 2024
Merged

molotkov-and merged 10 commits into
ydb-platform:mainfrom
molotkov-and:fstec/account-lockout

Conversation

@molotkov-and

Copy link
Copy Markdown
Contributor

Changelog entry

Automatically account lockout after some attempts to login with wrong password.
User is unlocked after AttemptResetDuration time in config. If AttemptResetDuration is 0 then user is locked out permanently

Changelog category

  • New feature

Additional information

...

@github-actions

github-actions Bot commented Dec 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-12 15:05:09 UTC Pre-commit check linux-x86_64-release-asan for ac0cdcd has started.
⚪ 2024-12-12 15:05:20 UTC Artifacts will be uploaded here
⚪ 2024-12-12 15:08:34 UTC ya make is running...
🟡 2024-12-12 16:41:03 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15546 15476 0 17 6 47

🟢 2024-12-12 16:42:24 UTC Build successful.
🟡 2024-12-12 16:42:58 UTC ydbd size 3.6 GiB changed* by +744.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 7f5a9f3 merge: ac0cdcd diff diff %
ydbd size 3 898 616 008 Bytes 3 899 378 560 Bytes +744.7 KiB +0.020%
ydbd stripped size 1 366 738 000 Bytes 1 366 864 080 Bytes +123.1 KiB +0.009%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-12 15:05:34 UTC Pre-commit check linux-x86_64-relwithdebinfo for ac0cdcd has started.
⚪ 2024-12-12 15:05:47 UTC Artifacts will be uploaded here
⚪ 2024-12-12 15:09:18 UTC ya make is running...
🟡 2024-12-12 16:42:16 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
32827 29882 0 13 2822 110

⚪ 2024-12-12 16:45:01 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-12 16:56:53 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
775 (only retried tests) 665 0 2 0 108

⚪ 2024-12-12 16:57:05 UTC ya make is running... (failed tests rerun, try 3)
🔴 2024-12-12 17:08:26 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
671 (only retried tests) 562 0 2 0 107

🟢 2024-12-12 17:08:35 UTC Build successful.
🟡 2024-12-12 17:08:54 UTC ydbd size 2.1 GiB changed* by +217.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4270124 merge: ac0cdcd diff diff %
ydbd size 2 256 522 040 Bytes 2 256 744 952 Bytes +217.7 KiB +0.010%
ydbd stripped size 483 996 272 Bytes 484 008 816 Bytes +12.2 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@azevaykin azevaykin changed the title FSTEC: Automatically account lockout after some attempts to login with wrong password Automatically account lockout after some attempts to login with wrong password Dec 13, 2024
Comment thread ydb/library/login/login.h Resolved
@github-actions

github-actions Bot commented Dec 16, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-16 16:25:06 UTC Pre-commit check linux-x86_64-relwithdebinfo for 32578e7 has started.
⚪ 2024-12-16 16:25:10 UTC Artifacts will be uploaded here
⚪ 2024-12-16 16:28:25 UTC ya make is running...
🟡 2024-12-16 17:59:18 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31366 28409 0 8 2831 118

⚪ 2024-12-16 18:01:50 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-16 18:13:15 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
180 (only retried tests) 64 0 5 1 110

⚪ 2024-12-16 18:13:29 UTC ya make is running... (failed tests rerun, try 3)
🔴 2024-12-16 18:25:13 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
164 (only retried tests) 49 0 5 0 110

🟢 2024-12-16 18:25:20 UTC Build successful.
🟡 2024-12-16 18:25:41 UTC ydbd size 2.1 GiB changed* by +217.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 01126ac merge: 32578e7 diff diff %
ydbd size 2 254 428 152 Bytes 2 254 651 120 Bytes +217.7 KiB +0.010%
ydbd stripped size 482 950 896 Bytes 482 963 504 Bytes +12.3 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 16, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-16 16:26:49 UTC Pre-commit check linux-x86_64-release-asan for 32578e7 has started.
⚪ 2024-12-16 16:27:01 UTC Artifacts will be uploaded here
⚪ 2024-12-16 16:30:14 UTC ya make is running...
🟡 2024-12-16 18:06:17 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14369 14276 0 36 9 48

🟢 2024-12-16 18:07:31 UTC Build successful.
🟡 2024-12-16 18:08:11 UTC ydbd size 3.6 GiB changed* by +342.8 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 01126ac merge: 32578e7 diff diff %
ydbd size 3 895 319 720 Bytes 3 895 670 752 Bytes +342.8 KiB +0.009%
ydbd stripped size 1 363 384 528 Bytes 1 363 430 160 Bytes +44.6 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 17, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-17 10:16:23 UTC Pre-commit check linux-x86_64-release-asan for 9b62c7b has started.
⚪ 2024-12-17 10:16:34 UTC Artifacts will be uploaded here
⚪ 2024-12-17 10:19:47 UTC ya make is running...
🟡 2024-12-17 11:59:39 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14371 14305 0 13 7 46

🟢 2024-12-17 12:00:49 UTC Build successful.
🟡 2024-12-17 12:01:12 UTC ydbd size 3.6 GiB changed* by +342.8 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 99fdf00 merge: 9b62c7b diff diff %
ydbd size 3 895 651 712 Bytes 3 896 002 760 Bytes +342.8 KiB +0.009%
ydbd stripped size 1 363 547 536 Bytes 1 363 593 168 Bytes +44.6 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 17, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-17 10:18:42 UTC Pre-commit check linux-x86_64-relwithdebinfo for 9b62c7b has started.
⚪ 2024-12-17 10:18:53 UTC Artifacts will be uploaded here
⚪ 2024-12-17 10:22:05 UTC ya make is running...
🟡 2024-12-17 11:47:47 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31372 28425 0 4 2830 113

⚪ 2024-12-17 11:50:33 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-17 12:02:26 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
164 (only retried tests) 51 0 3 1 109

⚪ 2024-12-17 12:02:34 UTC ya make is running... (failed tests rerun, try 3)
🟢 2024-12-17 12:13:55 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
156 (only retried tests) 47 0 0 0 109

🟢 2024-12-17 12:14:02 UTC Build successful.
🟡 2024-12-17 12:14:26 UTC ydbd size 2.1 GiB changed* by +213.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 99fdf00 merge: 9b62c7b diff diff %
ydbd size 2 254 662 928 Bytes 2 254 881 744 Bytes +213.7 KiB +0.010%
ydbd stripped size 483 010 352 Bytes 483 018 800 Bytes +8.2 KiB +0.002%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 17, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-17 12:19:03 UTC Pre-commit check linux-x86_64-relwithdebinfo for 6c82bbb has started.
⚪ 2024-12-17 12:19:16 UTC Artifacts will be uploaded here
⚪ 2024-12-17 12:22:40 UTC ya make is running...
🟡 2024-12-17 13:55:47 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31383 28436 0 1 2830 116

⚪ 2024-12-17 13:58:20 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-17 14:10:19 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
159 (only retried tests) 48 0 0 0 111

🟢 2024-12-17 14:10:27 UTC Build successful.
🟡 2024-12-17 14:10:46 UTC ydbd size 2.1 GiB changed* by +225.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 02fdbe3 merge: 6c82bbb diff diff %
ydbd size 2 255 301 336 Bytes 2 255 532 464 Bytes +225.7 KiB +0.010%
ydbd stripped size 483 132 208 Bytes 483 152 976 Bytes +20.3 KiB +0.004%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 17, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-17 12:23:23 UTC Pre-commit check linux-x86_64-release-asan for 6c82bbb has started.
⚪ 2024-12-17 12:23:34 UTC Artifacts will be uploaded here
⚪ 2024-12-17 12:26:58 UTC ya make is running...
🟡 2024-12-17 14:06:37 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14382 14297 0 29 8 48

🟢 2024-12-17 14:07:47 UTC Build successful.
🟡 2024-12-17 14:08:12 UTC ydbd size 3.6 GiB changed* by +346.8 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 02fdbe3 merge: 6c82bbb diff diff %
ydbd size 3 896 690 056 Bytes 3 897 045 184 Bytes +346.8 KiB +0.009%
ydbd stripped size 1 363 916 432 Bytes 1 363 966 160 Bytes +48.6 KiB +0.004%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

ijon
ijon previously approved these changes Dec 17, 2024
Comment thread ydb/tests/library/common/types.py Resolved
@github-actions

github-actions Bot commented Dec 18, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-18 09:00:17 UTC Pre-commit check linux-x86_64-release-asan for fc057bf has started.
⚪ 2024-12-18 09:00:29 UTC Artifacts will be uploaded here
⚪ 2024-12-18 09:03:55 UTC ya make is running...
🟡 2024-12-18 10:44:02 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14382 14259 0 59 17 47

🟢 2024-12-18 10:45:15 UTC Build successful.
🟡 2024-12-18 10:45:42 UTC ydbd size 3.6 GiB changed* by +342.9 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: de64fff merge: fc057bf diff diff %
ydbd size 3 894 517 928 Bytes 3 894 869 048 Bytes +342.9 KiB +0.009%
ydbd stripped size 1 363 834 448 Bytes 1 363 880 080 Bytes +44.6 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 18, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-18 09:00:40 UTC Pre-commit check linux-x86_64-relwithdebinfo for fc057bf has started.
⚪ 2024-12-18 09:00:52 UTC Artifacts will be uploaded here
⚪ 2024-12-18 09:04:16 UTC ya make is running...
🟡 2024-12-18 10:37:01 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31383 28426 0 4 2832 121

⚪ 2024-12-18 10:39:58 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-18 10:51:48 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
173 (only retried tests) 62 0 0 0 111

🟢 2024-12-18 10:51:55 UTC Build successful.
🟡 2024-12-18 10:52:15 UTC ydbd size 2.1 GiB changed* by +217.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 945fa6e merge: fc057bf diff diff %
ydbd size 2 253 716 864 Bytes 2 253 939 664 Bytes +217.6 KiB +0.010%
ydbd stripped size 483 049 840 Bytes 483 062 320 Bytes +12.2 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 19, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-19 12:30:06 UTC Pre-commit check linux-x86_64-release-asan for 883904c has started.
⚪ 2024-12-19 12:30:12 UTC Artifacts will be uploaded here
⚪ 2024-12-19 12:33:25 UTC ya make is running...
🟡 2024-12-19 14:06:48 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14396 14298 0 42 5 51

🟢 2024-12-19 14:08:13 UTC Build successful.
🟡 2024-12-19 14:08:40 UTC ydbd size 3.6 GiB changed* by +346.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: d48cc77 merge: 883904c diff diff %
ydbd size 3 865 219 656 Bytes 3 865 574 288 Bytes +346.3 KiB +0.009%
ydbd stripped size 1 350 327 184 Bytes 1 350 376 880 Bytes +48.5 KiB +0.004%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 19, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-20 08:55:47 UTC Pre-commit check linux-x86_64-relwithdebinfo for 883904c has started.
⚪ 2024-12-20 08:55:58 UTC Artifacts will be uploaded here
⚪ 2024-12-20 08:59:18 UTC ya make is running...
⚫ 2024-12-20 09:22:27 UTC Check cancelled

@molotkov-and
molotkov-and enabled auto-merge (squash) December 20, 2024 09:09
@github-actions

github-actions Bot commented Dec 20, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-20 09:25:58 UTC Pre-commit check linux-x86_64-release-asan for 00c81fb has started.
⚪ 2024-12-20 09:26:10 UTC Artifacts will be uploaded here
⚪ 2024-12-20 09:29:37 UTC ya make is running...
🟡 2024-12-20 11:14:55 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14399 14302 0 35 11 51

🟢 2024-12-20 11:16:07 UTC Build successful.
🟡 2024-12-20 11:16:34 UTC ydbd size 3.6 GiB changed* by +342.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 291222e merge: 00c81fb diff diff %
ydbd size 3 865 748 784 Bytes 3 866 099 256 Bytes +342.3 KiB +0.009%
ydbd stripped size 1 350 424 624 Bytes 1 350 470 160 Bytes +44.5 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Dec 20, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-12-20 09:26:28 UTC Pre-commit check linux-x86_64-relwithdebinfo for 00c81fb has started.
⚪ 2024-12-20 09:26:40 UTC Artifacts will be uploaded here
⚪ 2024-12-20 09:29:59 UTC ya make is running...
🟡 2024-12-20 10:59:36 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31424 28470 0 4 2831 119

⚪ 2024-12-20 11:02:09 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-20 11:13:38 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
163 (only retried tests) 52 0 0 1 110

🟢 2024-12-20 11:13:46 UTC Build successful.
🟡 2024-12-20 11:14:02 UTC ydbd size 2.1 GiB changed* by +213.5 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 291222e merge: 00c81fb diff diff %
ydbd size 2 234 869 408 Bytes 2 235 088 032 Bytes +213.5 KiB +0.010%
ydbd stripped size 477 835 088 Bytes 477 843 472 Bytes +8.2 KiB +0.002%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@molotkov-and
molotkov-and merged commit bc46b2c into ydb-platform:main Dec 20, 2024
@molotkov-and
molotkov-and deleted the fstec/account-lockout branch December 20, 2024 11:37
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.

[FSTEC] Blocking users when the number of authentication attempts is exceeded

3 participants