Skip to content

Commit 5d674e4

Browse files
jeroirazgaborh-da
authored andcommitted
Log debug message when KDFKey is missing
Undo recent change that raised an error when KDFKey was not yet stored as this situation is expected until client has requested a first batch of TCerts. This change partially affects changes submitted in PR #2177 (#2177). Why: Fixes #2275 #2275 How it was tested: Unit-test and behave test passed Checklist: X I have added a Signed-off-by. X This change requires no new documentation. X This change requires no new tests. X I have run golint and have fixed valid warnings in code I have added or modified. Change-Id: Id67589d822198400319830b17067e6fcf5d8832e Signed-off-by: Jeronimo Irazabal <[email protected]>
1 parent 0716064 commit 5d674e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/crypto/client_tca.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (client *clientImpl) loadTCertOwnerKDFKey() error {
7878
client.Debug("Loading TCertOwnerKDFKey...")
7979

8080
if !client.ks.isAliasSet(client.conf.getTCertOwnerKDFKeyFilename()) {
81-
client.Error("Failed loading TCertOwnerKDFKey. Key is missing.")
81+
client.Debug("TCertOwnerKDFKey is missing, maybe the client has not requested any TCerts from TCA yet")
8282

8383
return nil
8484
}

0 commit comments

Comments
 (0)