Skip to content

Passphrase input not working on Android (Termux) #585

Description

@BiswajitThakur

Environment

  • OS: Android
  • rage version: rage 0.11.1

What were you trying to do

I was want to encrypt my file on Android OS (Termux app).

What happened

When I run rage -e -p -o hello.txt.age hello.txt command to encrypt file. It shows a TUI interface to enter passphrase and confirm passphrase but the problem is it don't accept password from keyboard.
Termux app provides tab, arrow keys. In TUI interface, all keys are working, i can switch between Passphrase and confirm passphrase, i can select Ok and Cancel button if the passphrase is empty. Once i entered passphrase, it stopped working.

┌─────────────────────────────────────────────────────────────────┐
│ Type passphrase (leave empty to autogenerate a secure one)      │
│                                                                 │
│                                                                 │
│                                                                 │
│ Passphrase ____________________________________________________ │
│                                                                 │
│ Confirm passphrase ____________________________________________ │
│ ┌─────────────────────────────────────────────────────────────┐ │
│ │                                                             │ │
│ └─────────────────────────────────────────────────────────────┘ │
│         <OK>                                     <Cancel>       │
└─────────────────────────────────────────────────────────────────┘

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions