Pavel Korotkov
1e608634e7
[ #8 ] Accept directly bytes from gate key file
...
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-08-07 14:12:27 +03:00
Pavel Korotkov
d70fe6410b
[ #8 ] Active validation of AWS V4 signature
...
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-08-07 14:12:27 +03:00
Pavel Korotkov
fdc6d7acbd
[ #8 ] Turn on creds and manager
...
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-08-07 14:12:27 +03:00
Pavel Korotkov
c972682430
[ #8 ] Switch outer code to using the new auth scheme
...
* Removed CLI flag for RSA key
* Passed through peers to auth center to be able to independently interact with a NeoFS node
* Added flag and loader for curve25519 (private) key
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-08-07 14:12:27 +03:00
Pavel Korotkov
490254c69e
[ #8 ] Add an early changes to auth package
...
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-08-07 14:12:27 +03:00
Pavel Korotkov
d2ce83a6f8
#2 Fix AWS V4 signature regexp
...
We now respect possible spaces in parts of Authorization header field whoses presence causes problems for some client apps (such as aws cli).
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-07-28 18:54:39 +03:00
Pavel Korotkov
0a3187aa0e
Remove accidental print
2020-07-24 17:07:45 +03:00
Pavel Korotkov
f6aeb06ee9
Fast hot fix before rework of auth scheme
2020-07-24 17:03:02 +03:00
Pavel Korotkov
04dbe30f49
Refactor if-blocks in GetBearerToken method
2020-07-23 14:29:36 +03:00
Pavel Korotkov
ae66e4de61
Add throwing error for GetBearerToken method
2020-07-23 11:05:50 +03:00
Pavel Korotkov
9662fb0019
Merged master into NFSSVC-26
2020-07-22 19:06:43 +03:00
Pavel Korotkov
57466b3db2
Add getting/setting bearer token at the auth package
2020-07-22 19:02:35 +03:00
Evgeniy Kulikov
c6bc8c513b
NFSSVC-30 Isolate S3 routing from legacy code
2020-07-22 16:25:09 +03:00
Pavel Korotkov
b5bd835cd5
Add error checking while creating auth center
2020-07-21 13:21:03 +03:00
Pavel Korotkov
c6b6076544
Get back checking severe auth errors
2020-07-21 13:07:09 +03:00
Pavel Korotkov
3870f59484
Rename GetNeoFSKey(Public/Private)Key to GetNeoFS(Public/Private)Key
2020-07-21 12:44:25 +03:00
Pavel Korotkov
ea7286c875
Split code into smaller parts within the auth package
2020-07-21 12:40:46 +03:00
Pavel Korotkov
6c0ddca8d0
Add missing error checks
2020-07-21 12:28:00 +03:00
Pavel Korotkov
e4f7a702dc
Move auth HTTP header field regexp to a package level variable
2020-07-21 11:35:30 +03:00
Pavel Korotkov
22487b9ccf
Enable auth validation for signed requests
2020-07-21 02:43:40 +03:00
Pavel Korotkov
d9b146628d
Tune getting bearer token; prepare for passing through bearer token
2020-07-20 20:23:16 +03:00
Pavel Korotkov
3ff7028229
Add early support of auth middleware
2020-07-16 18:33:47 +03:00
Pavel Korotkov
a43c596f49
Remove enclove as a separate entity; move auth center to app settings
2020-07-15 23:16:27 +03:00
Pavel Korotkov
a890d9142d
Clear useless comments
2020-07-15 18:31:05 +03:00
Pavel Korotkov
4fc7eaed34
Remove global state
2020-07-15 18:20:45 +03:00
Pavel Korotkov
aa28121466
Introduce a auth center + secure enclave in a separate package
2020-07-15 16:48:25 +03:00