HeyPuter / HeyPuter/puter-fuse

2FA not supported

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
49
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I noticed that Puter FUSE can't be used if the user haves 2FA enabled.
Here's what my terminal said when i tried to run it :
```console
zachary@CatPC:~$ go run github.com/HeyPuter/puter-fuse@v1.0.0
[]
Username: Zac0511
Password: **************
Authentication Host: https://puter.com
API Host: https://api.puter.com
Mountpoint: /tmp/mnt
{"proceed":true,"next_step":"otp","otp_jwt_token":"t o k e n}
panic: unexpected status: 202

goroutine 1 [running]:
main.configure()
/home/zachary/go/pkg/mod/github.com/!hey!puter/puter-fuse@v1.0.0/configure.go:114 +0xaee
main.main()
/home/zachary/go/pkg/mod/github.com/!hey!puter/puter-fuse@v1.0.0/main.go:80 +0x1af
exit status 2
zachary@CatPC:~$
```
*The text `t o k e n` replaces a long chain that could have been my auth token, which is why i replaced it*

2FA support should be added, as most of users that care about security will have it enabled, and wouldn't be able to use `puter-fuse`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.