idhub: demo vault and default did
use DEMO
This commit is contained in:
parent
c8729973b7
commit
3d77e9983e
|
@ -1 +1 @@
|
|||
{"label": "Default", "key_material": "{\"kty\": \"OKP\", \"crv\": \"Ed25519\", \"x\": \"IRqDfIumhbKKHhqMjOngikQmGoT1cZ6LPP-JjXa8CsY\", \"d\": \"AZXUEnJYFbGcn3Ebzy3vQWYFzx6rdnoHKilaMYUWuHA\", \"kid\": \"Generated\"}"}
|
||||
{"label": "DEMO", "key_material": "{\"kty\": \"OKP\", \"crv\": \"Ed25519\", \"x\": \"IRqDfIumhbKKHhqMjOngikQmGoT1cZ6LPP-JjXa8CsY\", \"d\": \"AZXUEnJYFbGcn3Ebzy3vQWYFzx6rdnoHKilaMYUWuHA\", \"kid\": \"Generated\"}"}
|
||||
|
|
|
@ -36,7 +36,8 @@ class Command(BaseCommand):
|
|||
ADMIN_PASSWORD = settings.INITIAL_ADMIN_PASSWORD
|
||||
self.predefined_token = kwargs['predefined_token']
|
||||
self.predefined_did = kwargs['predefined_did']
|
||||
cache.set("KEY_DIDS", "1", None)
|
||||
# on demo situation, encrypted vault is hardcoded with password DEMO
|
||||
cache.set("KEY_DIDS", "DEMO", None)
|
||||
|
||||
self.org = Organization.objects.create(
|
||||
name=self.DOMAIN,
|
||||
|
|
Loading…
Reference in a new issue