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

new feature: call methods that require 2 factor authentication #13

Open
fliege65 opened this issue May 19, 2021 · 5 comments
Open

new feature: call methods that require 2 factor authentication #13

fliege65 opened this issue May 19, 2021 · 5 comments
Assignees

Comments

@fliege65
Copy link

fliege65 commented May 19, 2021

Hi Christian, I'd appreciate, if you could implement the capability to perform actions using 2 factor authentication. I made some tries and the result is attached.
diff.txt

If you like it, you can implement it or maybe you have a better idea, I'm not perfect...
Best regards,
Matthias

@mmitch
Copy link
Owner

mmitch commented May 23, 2021

Thanks!
I'll have a look at it and see how it fits the current API. But currently I don't have that much time on my hands, so this will take some time.

For which function did you need the 2FA? I did not miss the feature until now.

(And have you ever worked with subscriptions/callbacks? That is a feature I've wanted to add for quite some time, but the last times I tried, I couldn't find good documentation…)

@mmitch mmitch self-assigned this May 23, 2021
@mmitch
Copy link
Owner

mmitch commented Sep 19, 2021

@fliege65 What is your usecase? Which functions do you use that need the 2 factor authentication?

@fliege65
Copy link
Author

Hi, I used this function to create a configuration backup by script. If you have 2FA enabled, it is not possible anymore to do that. With the changes I made, you can backup the config by script, but you have to do it interactively. Maybe it is not necessary to mention it, a fully automated backup is not possible with activated 2FA. Unfortunately you can't do the 2FA by script using Google authenticator.

@fliege65 fliege65 reopened this Sep 20, 2021
@fliege65
Copy link
Author

my fault, I shouldn't have closed this...

@mmitch
Copy link
Owner

mmitch commented Sep 20, 2021

You could also enable push messages to get an encrypted backup from time to time (eg. just before the Fritz!Box does an update). You can configure a mailserver in your local network so the mail does not have to go out into the internet.

I still don't have much time, but now I know what the feature can be used for.
Thanks!

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

No branches or pull requests

2 participants