Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when selecting SSH keys #19

Closed
sawwashere opened this issue Sep 9, 2020 · 7 comments
Closed

Crash when selecting SSH keys #19

sawwashere opened this issue Sep 9, 2020 · 7 comments

Comments

@sawwashere
Copy link

The app appears to crash when I try to select an SSH key.
When I select my SSH key and press the select button it closes immediately and when I reopen the app it does not have the key selected.

@DDoSolitary
Copy link
Owner

Please provide some additional information:

  • app version
  • download source (Play Store, F-Droid, etc)
  • preferably crash log

@DDoSolitary DDoSolitary changed the title Crash Crash when selecting SSH keys Sep 9, 2020
@sawwashere
Copy link
Author

0.2.2
Google Play Store
How do I get this crash log?

@DDoSolitary
Copy link
Owner

DDoSolitary commented Sep 12, 2020

@sawwashere

app-release.zip

Please try this version. It is a bug that I thought I've already fixed in d68c805, but it seems that I didn't cover a special case when OpenKeychain reports an error.

You may need to uninstall the already installed version to install this one because it is signed with a different key.

@sawwashere
Copy link
Author

sawwashere commented Sep 12, 2020

Once I uninstalled the old version and installed your new version. I tried adding the key again and the first time I got the confirmation dialog from OpenKeychain that I wanted to allow OkcAgent to access my keys which I allowed. Then I was presented with the choose key dialog and upon making my selection and hitting select I received the following message:
"Error: Could not create description : null"
All subsequent tries meet with the same error.

@DDoSolitary
Copy link
Owner

@sawwashere
Copy link
Author

This key is working with TermBot(ssh client app) and PasswordStore without issue.

@sawwashere
Copy link
Author

It seems that the issue was that some of the subkeys were expired. Once I extended their life and updated the key in OpenKeychain I was able to properly select the key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants