![]() |
TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Hallo, ich habe ein TSE Entwickler USB von Swissbit. Leider bekomme ich beim Factory Reset ein WORM_ERROR_AUTHENTICATION_PIN_BLOCKED.
PUK ändern führt auch zum selben Error. PIN ändern führt zu WORM_ERROR_NOT_AUTHORIZED User Login führt zu PUK WORM_ERROR_WRONG_STATE_NEEDS_PUK_CHANGE Unblock führt zu WORM_ERROR_WRONG_STATE_NEEDS_PIN_CHANGE Weißt jemand, was man da machen muss? Danke |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Zitat:
Nach dem Reset "muss" die PUK und PIN geändert werden, ansonsten kommt die Fehlermeldung WORM_ERROR_WRONG_STATE_NEEDS_PUK_CHANGE Das machst du am besten mit "worm_tse_setup". Damit wird die TSE initialisiert. |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Hallo Gerd,
Initialization State ist WORM_INITUNINITIALIZED ich habe versucht eine setup durchzuführen, aber er verlangt dass ich einen SelfTest vorher machen muss. Wenn ich ein SelfTest aufrufe, dann sagt er mir, dass ich einen ClientId registrieren muss.
Code:
Wenn ich eine ClientId registrieren will, sagt er mir, dass ich ein SelfTest durchführen muss.
public void tse_runSelfTest(java.lang.String clientId)
Runs the self test of the TSE. After each power cycle, the TSE runs a self test to ensure proper operation of its internal modules. The self test requires to check that the TSE is plugged into an authorized system. The self test can be repeated whenever it is desired by the ERS, but it must be run at least once every 25 hours. Otherwise, the TSE will set the state *selfTestRun* to inactive, which makes all future commands fail until the self test is run successfully again. The time until the *selfTestRun* state will be made inactive can be obtained with WormInformation.timeUntilNextSelfTest(). The self test is a potentially long running operation that might take up to 60 seconds to complete. Note: This command must be sent as first command after the TSE boots. If it fails, only methods regarding user authentication, registering new clients, or re-running the self test are allowed. Note: It is strongly recommended that after running the self test, any methods that might be called (e.g. user_login(com.secureflashcard.wormapi.WormUserId, byte[])) are executed as soon as possible afterwards. Especially, it should be ensured that tse_updateTime(long)is called quickly after running the self test to prevent the TSE from entering a low power state. While having a valid time set, the TSE will not enter the low power state again. Parameters: clientId - Serial number of the system where the TSE is physically plugged in. Must have been registered previously with tse_registerClient(java.lang.String), otherwise the self test will fail.
Code:
Er dreht sich im Kreis :(
public void tse_registerClient(java.lang.String clientId)
Registers a client (i.e. an ERS) as a valid system for self tests and transactions. A client is identified by its ID, which shall be a unique string (e.g. its serial number). If the same client is already registered, the command will be successful, but the client will not be registered twice. Note: This command requires the user *Admin* to be logged in. Ist leader in JAVA, aber ich dachte mir, dass vielleicht das Problem such auf Delphi ist. |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Du hast es selbst zitiert:
Zitat:
|
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Bei mir dreht er sich immer im Kreis, weißt leider nicht was man noch machen kann.
|
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Zitat:
Dann setup. Das sollte klappen. |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Sag ich ja :)
|
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Danke, ich habe es ausprobiert, SelfTest Error ignoriert, Setup gestartet
Jetzt bekomme ich ein WORM_ERROR_AUTHENTICATION_PIN_BLOCKED :( |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Zitat:
|
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Zitat:
|
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Hallo zusammen,
also ich bin auch langsam am verzweifeln. Ich mache einen factoryReset bekomme als Ergebnis WORM_ERROR_NOERROR zurück und wenn ich dann das Setup ausführen will bekomme ich als Fehler WORM_ERROR_TSE_ALREADY_INITIALIZED zurück. Wie geht das? Gruß Carsten |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Handelt es sich denn auch um eine Entwickler-TSE?
|
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Ja, es ist eine Entwickler-TSE.
Das interessante ist, wenn ich in VisualStudio 2019 das C# Beispiel nehme, funktioniert der factoryReset, mache ich das selbe in Lazarus funktioniert es nicht. Pin und Puk kann ich aber jederzeit ändern. Ich mache ein worm_init, danach ein factoryReset und dann bekomme ich eine der möglichen Fehlermeldungen. Das ist wie ein Lottospiel: WORM_ERROR_WRONG_STATE_NEEDS_SELF_TEST_PASSED WORM_ERROR_WRONG_STATE_NEEDS_ACTIVE_ERS |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
API falsch implemmentiert?
Ich denkte da vor allem an ANSI und UTF-8 (im Delphi dagegen an Unicode) |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Ich hatte mich schon gewundert, was NEEDS_ACTIVE_ERS überhaubt sein soll,
dann fiel mir auf:
Code:
er hatte nur den SelfTest nicht ausgeführt.
WORM_ERROR_WRONG_STATE_NEEDS_ACTIVE_ERS = $1054,
WORM_ERROR_WRONG_STATE_NEEDS_SELF_TEST = $1054, Hatte noch einen Fehler, durch welchen er den SelfTest nicht durchgeführt hatte. Jetzt weiß ich zwar immer noch nicht, was NEEDS_ACTIVE_ERS bedeuten soll, aber ist erstmal egal, da mein Fehler weg war. Vielleicht hilft dir diese Erkenntnis auch weiter. (Falls das Problem überhaupt noch besteht!) Oder jemand anderen ... ich bin nämlich auf der Suche nach WORM_ERROR_WRONG_STATE_NEEDS_ACTIVE_ERS überhaubt erst hier her gekommen. MfG Incocnito |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Zitat:
$1054 ist definitiv WORM_ERROR_WRONG_STATE_NEEDS_SELF_TEST |
AW: TSE von Swissbit: WORM_ERROR_AUTHENTICATION_PIN_BLOCKED
Ja, die Konstanten stammen aus verschiedenen API-Versionen. Aus Kompatibilitätsgründen hat man die alten Bezeichner einfach dringelassen.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:40 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz