strip newline before Base64 decoding (#916)
This commit is contained in:
committed by
Joe Nelson
parent
968bf9ce59
commit
7fcdbf9153
@@ -0,0 +1,10 @@
|
||||
db-uri = "postgres:///postgrest_test"
|
||||
db-schema = "test"
|
||||
db-anon-role = "postgrest_test_anonymous"
|
||||
db-pool = 1
|
||||
server-host = "*4"
|
||||
server-port = 49421
|
||||
|
||||
# Read secret from a file: /dev/stdin (alias for standard input)
|
||||
jwt-secret = "@/dev/stdin"
|
||||
secret-is-base64 = true
|
||||
@@ -0,0 +1,10 @@
|
||||
db-uri = "postgres:///postgrest_test"
|
||||
db-schema = "test"
|
||||
db-anon-role = "postgrest_test_anonymous"
|
||||
db-pool = 1
|
||||
server-host = "*4"
|
||||
server-port = 49421
|
||||
|
||||
# Read secret from a file: /dev/stdin (alias for standard input)
|
||||
jwt-secret = "@/dev/stdin"
|
||||
secret-is-base64 = false
|
||||
@@ -0,0 +1 @@
|
||||
QSBCIEMKSXQncyBlYXN5IGFzLCAxIDIgMw==
|
||||
@@ -0,0 +1 @@
|
||||
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoicG9zdGdyZXN0X3Rlc3RfYXV0aG9yIn0.MsR2A5HkhQdBsuQhXH8TvUdlvezBm5JEu4SOmHj34KI
|
||||
@@ -0,0 +1,2 @@
|
||||
A B C
|
||||
It's easy as, 1 2 3
|
||||
@@ -0,0 +1,2 @@
|
||||
A B C
|
||||
It's easy as, 1 2 3
|
||||
@@ -0,0 +1 @@
|
||||
i6aWVaZ4Zt8=
|
||||
@@ -0,0 +1 @@
|
||||
協剖ヲxf゚
|
||||
@@ -0,0 +1 @@
|
||||
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoicG9zdGdyZXN0X3Rlc3RfYXV0aG9yIn0.ySt_r_BN596NjZGcUAnlMAflDARDjrsR2c-fkOWlbFs
|
||||
@@ -0,0 +1 @@
|
||||
協剖ヲxf゚
|
||||
@@ -0,0 +1 @@
|
||||
4pqg77iPIOKaoO+4jiBVbmljb2RlIOKYoO+4jyDimKA=
|
||||
@@ -0,0 +1 @@
|
||||
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoicG9zdGdyZXN0X3Rlc3RfYXV0aG9yIn0.VFfaoJohnDeJMA-awM6Y7blbOjXDNwmtx48Z-0bIKrE
|
||||
@@ -0,0 +1 @@
|
||||
⚠️ ⚠︎ Unicode ☠️ ☠
|
||||
@@ -0,0 +1 @@
|
||||
⚠️ ⚠︎ Unicode ☠️ ☠
|
||||
@@ -0,0 +1 @@
|
||||
QUJDMTIz
|
||||
@@ -0,0 +1 @@
|
||||
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoicG9zdGdyZXN0X3Rlc3RfYXV0aG9yIn0.yERzinJhzJ5XYKZuxVroqsAwGXMtCxntfm8HVxc1amI
|
||||
@@ -0,0 +1 @@
|
||||
ABC123
|
||||
@@ -0,0 +1 @@
|
||||
ABC123
|
||||
Reference in New Issue
Block a user