lib/uplink: explain safe versions (#3644)

Change-Id: Idf7391474ab10b0dab6ce97c773cabee59d5b664
This commit is contained in:
JT Olio 2019-11-25 08:55:54 -07:00 committed by littleskunk
parent 8a002e8c8e
commit 01895d8bdd
3 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ type GatewayFlags struct {
Version checker.Config
PBKDFConcurrency int `help:"please see <url>. default value recommended" default:"0"`
PBKDFConcurrency int `help:"Unfortunately, up until v0.26.2, keys generated from passphrases depended on the number of cores the local CPU had. If you entered a passphrase with v0.26.2 earlier, you'll want to set this number to the number of CPU cores your computer had at the time. This flag may go away in the future. For new installations the default value is highly recommended." default:"0"`
}
var (

View File

@ -32,7 +32,7 @@ type UplinkFlags struct {
Version checker.Config
PBKDFConcurrency int `help:"please see <url>. default value recommended" default:"0"`
PBKDFConcurrency int `help:"Unfortunately, up until v0.26.2, keys generated from passphrases depended on the number of cores the local CPU had. If you entered a passphrase with v0.26.2 earlier, you'll want to set this number to the number of CPU cores your computer had at the time. This flag may go away in the future. For new installations the default value is highly recommended." default:"0"`
}
var (

View File

@ -78,9 +78,9 @@ type Config struct {
// as generated with other values! Leaving this at the default is
// highly recommended.
//
// Unfortunately, prior to vx.x.x, we automatically set this to the
// Unfortunately, up to version v0.26.2, we automatically set this to the
// number of CPU cores your processor had. If you are having trouble
// decrypting data uploaded prior to vx.x.x, you may need to set
// decrypting data uploaded with v0.26.2 or older, you may need to set
// this value to the number of cores your computer had at the time
// you entered a passphrase.
//