A utility that makes OpenKeychain available in your Termux shell.
This tool acts as a bridge/proxy between Termux and OpenKeychain, enabling you to perform crypto operations in Termux using your keys stored in OpenKeychain, like:
- authenticate SSH connections
- sign/verify/encrypt/decrypt messages
This tool implements the existing protocols in this field so you can seamlessly integrate it with other command line utilities like ssh
and git
.
This project consists of two components: the OkcAgent app, and command line utilities to be used in the Termux shell. You need to install both of them to make it work.
- Stable releases
- Dev releases
- Stable releases
- Termux package:
pkg install okc-agents
- GitHub Releases
- Termux package:
- Dev releases
- Install OpenKeychain, Termux and the necessary components mentioned above.
- Open the app and configure the keys to be used for crypto operations.
- Use the command line utilities.
okc-ssh-agent
acts as an SSH agent. You can specify path of the agent socket with its first argument, and setSSH_AUTH_SOCK
to that path to inform programs likessh
to connect to it.okc-gpg
supports a limited set of GPG options so you can use it to perform some crypto operations. Read GpgArguments.kt for a complete list of supported options.
This app is available in Play Store at the price of $1. I didn't intend to make profit from this project and simply consider it as a way of donation. If you don't want to pay, you can always download the dev releases for free using the links mentioned above, or even build the app from its source code. However, please note that the APK files from these two sources are signed with different keys, which means that you have to uninstall the existing app first if you want to switch between them.
This app uses Bugsnag for error reporting.