Skip to content

Android: missing logger.log breaks SSH retry with encrypted keys #8

Description

@ZackLeo219

Hi, on Electerm Android 5.5.35 (Android 16), connecting with an encrypted Ed25519 key through connection hopping fails with “Encrypted private OpenSSH key detected, but no passphrase given”, even after entering the correct passphrase.

The backend logs TypeError: log_default.log is not a function. The logger in src/app/common/log.js has no log method, but the SSH retry code calls it.

Adding log: (...args) => emit('info', args), to the logger fixed the connection on my device. Could this alias be included upstream? Thanks for your work on Electerm!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions