This commit is contained in:
Joshua
2024-08-04 09:38:21 -06:00
parent 4d9c1ebcfc
commit 22e14fe11d
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -53,7 +53,6 @@ In the meantime:
be a command like `sudo cloudflared service install areallylonghash@sha-256?`
TODO:
Urgent:
- [x] Basic Documentation
@@ -62,10 +61,10 @@ TODO:
- [ ] Cloudflare Tunnel setup via cloudflared
- [ ] Daemonize service
- [ ] Encryption
- [x] Encryption
- [x] SHA-1 hash API request/response
- [x] Encrypt API request
- [ ] Encrypt API response
- [x] Encrypt API response
- [ ] Dockerize backend
- [ ] Broke Dockerfile, need to expose additional ports.
@@ -105,7 +105,7 @@ func createToken(username string) (string, error) {
func verifyToken(tokenString string) error {
token, err := jwt.Parse(tokenString, func(token *jwt.Token) (interface{}, error) {
return secretKey, nil
return key, nil
})
if err != nil {