commit 74f553cb5d405ad73d73ce84d9bd29e4291454b7
parent 45b02239ee9699b136d3aec56bdca86ec04cdc81
Author: Florian Dold <dold@taler.net>
Date: Tue, 11 Aug 2026 13:32:11 +0200
PIN to TAN
Diffstat:
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/packages/anastasis-core/src/provider-types.ts b/packages/anastasis-core/src/provider-types.ts
@@ -167,7 +167,7 @@ export interface PinChallengeInstructionMessage {
// What kind of challenge is this?
challenge_type: "TAN_SENT";
- // Where was the PIN code sent? Note that this
+ // Where was the TAN code sent? Note that this
// address will most likely have been obscured
// to improve privacy.
tan_address_hint: string;
@@ -177,7 +177,7 @@ export interface FileChallengeInstructionMessage {
// What kind of challenge is this?
challenge_type: "FILE_WRITTEN";
- // Name of the file where the PIN code was written.
+ // Name of the file where the TAN code was written.
filename: string;
}
diff --git a/packages/taler-util/src/types-taler-challenger.ts b/packages/taler-util/src/types-taler-challenger.ts
@@ -96,12 +96,12 @@ export interface ChallengeStatus {
// @since v2
retransmission_time: Timestamp;
- // how many times might the PIN still be retransmitted
+ // how many times might the TAN still be retransmitted
// only present if challenge already created
// @since v2
pin_transmissions_left: Integer;
- // how many times might the user still try entering the PIN code
+ // how many times might the user still try entering the TAN code
// only present if challenge already created
// @since v2
auth_attempts_left: Integer;
@@ -159,17 +159,17 @@ export interface InvalidPinResponse {
// address entry form
addresses_left: Integer;
- // how many times might the PIN still be retransmitted
+ // how many times might the TAN still be retransmitted
pin_transmissions_left: Integer;
- // how many times might the user still try entering the PIN code
+ // how many times might the user still try entering the TAN code
auth_attempts_left: Integer;
- // if true, the PIN was not even evaluated as the user previously
+ // if true, the TAN was not even evaluated as the user previously
// exhausted the number of attempts
exhausted: boolean;
- // if true, the PIN was not even evaluated as no challenge was ever
+ // if true, the TAN was not even evaluated as no challenge was ever
// issued (the user must have skipped the step of providing their
// address first!)
no_challenge: boolean;