https://github.com/cage1016/qclouddecrypter
quick way to decrypt qcloud credentials
https://github.com/cage1016/qclouddecrypter
decrypt go qcloud token
Last synced: about 1 month ago
JSON representation
quick way to decrypt qcloud credentials
- Host: GitHub
- URL: https://github.com/cage1016/qclouddecrypter
- Owner: cage1016
- License: mit
- Created: 2017-09-17T06:11:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T03:52:18.000Z (about 8 years ago)
- Last Synced: 2025-01-25T14:42:46.754Z (over 1 year ago)
- Topics: decrypt, go, qcloud, token
- Language: Go
- Homepage:
- Size: 456 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qclouddecrypter
> a helper to quick decrypt myqnapcloud token



## Install
To install, use `go get`:
```bash
$ go get github.com/cage1016/qclouddecrypter
```
## Getting Started
To getting started, user `qclouddecrypter`:
**input manual**
```bash
$ qclouddecrypter
open /Users/cage/.qclouddecrypter/secretkey.yaml: no such file or directory, manual input
? Choose Auth Server: connector.alpha-myqnapcloud.com
...
```
**load config**
> copy `secretkey.yaml.copy` to `/.qclouddecrypter/secretkey.yaml`
_user-home/.qclouddecrypter/secretkey.yaml_
```yaml
apps:
- name: DJ2 Google
id: xxxxx
secret: xxxx
provider: google
scopes:
- wl.basic
- wl.offline_access
- name: DJ2 facebook
id: xxxxx
secret: xxxxx
provider: facebook
```
```bash
$ qclouddecrypter
? Choose Auth Server: connector.alpha-myqnapcloud.com
? Choose App:
❯ DJ2 Google
DJ2 facebook
```
## Author
[kaichu.io](https://kaichu.io)
## Licence
MIT: [https://github.com/cage1016/qclouddecrypter/blob/master/LICENSE](https://github.com/cage1016/qclouddecrypter/blob/master/LICENSE)