bug #2744: fix bug generating fingerprint for econe keypair

(cherry picked from commit 7b972c09da6e4c65a0ccf8bef028b93f18ae8c64)