Lightly obscure secrets

This commit is contained in:
Nick Craig-Wood
2015-09-01 22:33:34 +01:00
parent e2717a031e
commit c98a51b26c
5 changed files with 46 additions and 6 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ import (
// Constants
const (
rcloneAppKey = "5jcck7diasz0rqy"
rcloneAppSecret = "1n9m04y2zx7bf26"
rcloneAppSecret = "m8WRxJ6b1Z/Y25fDwJWS"
metadataLimit = dropbox.MetadataLimitDefault // max items to fetch at once
)
@@ -134,7 +134,7 @@ func newDropbox(name string) *dropbox.Dropbox {
}
appSecret := fs.ConfigFile.MustValue(name, "app_secret")
if appSecret == "" {
appSecret = rcloneAppSecret
appSecret = fs.Reveal(rcloneAppSecret)
}
db.SetAppInfo(appKey, appSecret)