(app *App)
| 39 | } |
| 40 | |
| 41 | func initKeyPaths(app *App) { |
| 42 | emailKeyPath = filepath.Join(app.cfg.Server.KeysParentDir, emailKeyPath) |
| 43 | cookieAuthKeyPath = filepath.Join(app.cfg.Server.KeysParentDir, cookieAuthKeyPath) |
| 44 | cookieKeyPath = filepath.Join(app.cfg.Server.KeysParentDir, cookieKeyPath) |
| 45 | csrfKeyPath = filepath.Join(app.cfg.Server.KeysParentDir, csrfKeyPath) |
| 46 | } |
| 47 | |
| 48 | // generateKey generates a key at the given path used for the encryption of |
| 49 | // certain user data. Because user data becomes unrecoverable without these |
no outgoing calls
no test coverage detected