Commit graph

15 commits

Author SHA1 Message Date
Pavel Korotkov
d2ce83a6f8 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
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
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