add service providers for demoland and filename support for secrets

This commit is contained in:
Sebastian 2022-06-24 14:25:33 -03:00
parent cc01417a99
commit 2f8fd783b6
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
3 changed files with 11 additions and 4 deletions

View File

@ -23,6 +23,14 @@ export const anastasisData = {
url: "https://v1.anastasis.lu/", url: "https://v1.anastasis.lu/",
name: "Anastasis SARL, Luxembourg", name: "Anastasis SARL, Luxembourg",
}, },
{
url: "http://v1.anastasis.taler.net/",
restricted: "xx",
},
{
url: "https://v1.anastasis.lu/",
restricted: "xx",
},
{ {
url: "http://localhost:8086/", url: "http://localhost:8086/",
restricted: "xx", restricted: "xx",

View File

@ -1521,6 +1521,7 @@ async function enterSecret(
core_secret: { core_secret: {
mime: args.secret.mime ?? "text/plain", mime: args.secret.mime ?? "text/plain",
value: args.secret.value, value: args.secret.value,
filename: args.secret.filename,
}, },
// A new secret invalidates the existing recovery data. // A new secret invalidates the existing recovery data.
recovery_data: undefined, recovery_data: undefined,

View File

@ -229,10 +229,7 @@ export interface ReducerStateRecovery {
*/ */
recovered_key_shares?: { [truth_uuid: string]: KeyShare }; recovered_key_shares?: { [truth_uuid: string]: KeyShare };
core_secret?: { core_secret?: CoreSecret;
mime: string;
value: string;
};
authentication_providers?: AuthenticationProviderStatusMap; authentication_providers?: AuthenticationProviderStatusMap;
} }
@ -390,6 +387,7 @@ export interface ActionArgsEnterSecret {
secret: { secret: {
value: string; value: string;
mime?: string; mime?: string;
filename?: string;
}; };
expiration: TalerProtocolTimestamp; expiration: TalerProtocolTimestamp;
} }