-
Notifications
You must be signed in to change notification settings - Fork 305
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
Add token sharing support, including Jelling support #169
base: master
Are you sure you want to change the base?
Conversation
@joekir Can you review this? |
@npmccallum that CI failure is from the gradle config updates that we still need to do. I'll try review it this week at some point if that's ok? |
Now you can choose to "share" a token to another source. This commit contains only the sharing framework. Specific sharing targets will follow in future commits.
Now, copying a code to the clipboard is manual (though still trivial). This increases security and has equal discoverability. Fixes freeotp#58 Fixes freeotp#63 Fixes freeotp#49
If you grant permissions, FreeOTP can now scan for Jelling targets. If one is found, you can share your token with it. On the Jelling side, the token will be typed as if you had manually typed it.
@joekir I fixed the build in master and rebased this patch. This week would be great. |
|
||
@Override | ||
public void onConnectionStateChange(BluetoothGatt gatt, int status, int state) { | ||
switch (state) { |
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.
Should there be a default case, e.g. to log an unknown state?
@npmccallum my review doesn't seem to have changed the state. Most likely as I don't have write access. Over to you to merge. |
Here are the patches: