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/",
name: "Anastasis SARL, Luxembourg",
},
{
url: "http://v1.anastasis.taler.net/",
restricted: "xx",
},
{
url: "https://v1.anastasis.lu/",
restricted: "xx",
},
{
url: "http://localhost:8086/",
restricted: "xx",

View File

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

View File

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