Correct loading/truncation of secret key files

Created by  pmeunier  on February 23, 2023
OTEE57H2YMEBB2JRHYYAIW4GNXQPV4XEWC4TCI3RXXVU7QTU7TXQC
Change contents