-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample-settings.toml
49 lines (43 loc) · 1.43 KB
/
example-settings.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[server]
host = "0.0.0.0"
hostname = "http://localhost:8140"
port = 8140
debug = true
[identity_backend]
class = "kisee.providers.demo.DemoBackend"
[identity_backend.options]
username_min_length = 1
# Could be something else, it is to be implemented in your backend code, like:
# username_regex = r'^\p{IsAlphanumeric}(\p{IsAlphanumeric}|-(?!-))+\p{IsAlphanumeric}$'
#[identity_backend]
# class = "postgres_backend.pgsql.DataStore"
# [identity_backend.options]
# user = "postgres"
# password = "mysecretpassword"
# database = "kisee"
# host = "127.0.0.1"
# port = 5433
[email]
host = "localhost"
sender = "[email protected]"
[jwt]
iss = "example.com"
# Generated using:
#
# openssl ecparam -name secp256k1 -genkey -noout -out secp256k1.pem
#
# Yes we know P-256 is a bad one, but for compatibility with JS
# clients for the moment we can't really do better.
private_key = '''
-----BEGIN EC PRIVATE KEY-----
MHQCAQEEIJJaLOWE+5qg6LNjYKOijMelSLYnexzLmTMvwG/Dy0r4oAcGBSuBBAAK
oUQDQgAEE/WCqajmhfppNUB2uekSxX976fcWA3bbdew8NkUtCoBigl9lWkqfnkF1
8H9fgG0gafPhGtub23+8Ldulvmf1lg==
-----END EC PRIVATE KEY-----'''
# Generated using:
# openssl ec -in secp256k1.pem -pubout > secp256k1.pub
public_key = '''
-----BEGIN PUBLIC KEY-----
MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEE/WCqajmhfppNUB2uekSxX976fcWA3bb
dew8NkUtCoBigl9lWkqfnkF18H9fgG0gafPhGtub23+8Ldulvmf1lg==
-----END PUBLIC KEY-----'''