-
-
Notifications
You must be signed in to change notification settings - Fork 302
Authentication using OpenKeystore SSH API #486
Conversation
@vexofp very nice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The codestyle here is horrible and inconsistent. Once you apply all my suggestions we can move to reviewing the actual code. Consider reading the Google Java Style Guide for future reference.
app/src/main/java/com/zeapo/pwdstore/git/config/SshApiSessionFactory.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/zeapo/pwdstore/git/config/SshApiSessionFactory.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/zeapo/pwdstore/git/config/SshApiSessionFactory.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/zeapo/pwdstore/git/config/SshApiSessionFactory.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/zeapo/pwdstore/git/config/SshApiSessionFactory.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The codestyle here is horrible and inconsistent. Once you apply all my suggestions we can move to reviewing the actual code. Consider reading the Google Java Style Guide for future reference.
* origin/master: Fix clear clipboard 20 times history (android-password-store#465) (android-password-store#487) [ImgBot] Optimize images (android-password-store#485)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MSF-Jarvis we have only few tests ;( I can start looking into this. For the moment, this needs manual testing |
Tested manually. It works fine. Openkeychain is surprisingly simple to use for these kind of use cases :) |
Sweet, I'll rebase and merge this. |
@vexofp I get asked to select the key on every call to jgit. Is it possible to make that selection when the user opt for OpenKeychain authentication? Also, can you add an item in the FAQ on how to create an Authentication subkey in OpenKeychain? |
I tested this feature manually as well. It works great. Thank you very much @vexofp. To me personally, this was the feature I was missing the absolute most. @zeapo's suggestion with regard to saving the preferred key such that you are not prompted on every git operation would definitely be a good improvement to have. Thanks again! Looking forward to seeing this merged. |
Works for me as well :) Would be nice to have this into official releases! |
Removed leftover debugging code. Wrapped excessively long lines. Added missing new parameter to Javadoc.
Nice :) Hopefully this gets merged then :) |
I'll test this tomorrow and then merge it.
Le mar. 2 avr. 2019 à 11:22, Bastian Köcher <notifications@github.com> a
écrit :
… Nice :) Hopefully this gets merged then :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#486 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQgBqhA4i_8IFcr_fEpbYJ86ZoLOihvks5vcyFDgaJpZM4bO3k4>
.
|
What an exciting feature! |
thanks @vexofp :) |
Implementation for #71 . It seems to work well with my Yubikey 5 over NFC.
Integrating the OpenKeychain API's model (lots of PendingIntents) with the existing code (mostly modal dialog boxes) was a bit interesting. The result is not quite as elegant as I would like, but manages to avoid any intrusive refactoring of the existing authentication methods.