builder/amazon/*,builder/openstack: properly scrub sensitive [GH-554]

This commit is contained in:
Mitchell Hashimoto 2013-11-02 11:57:33 +04:00
parent 26d73e606c
commit 7f639d89b6
5 changed files with 7 additions and 4 deletions

View File

@ -8,6 +8,9 @@ FEATURES:
BUG FIXES: BUG FIXES:
* core: Won't panic when writing to a bad pipe. [GH-560] * core: Won't panic when writing to a bad pipe. [GH-560]
* builder/amazon/all: Properly scrub access key and secret key from logs.
[GH-554]
* builder/openstack: Properly scrub password from logs [GH-554]
* common/uuid: Use cryptographically secure PRNG when generating * common/uuid: Use cryptographically secure PRNG when generating
UUIDs. [GH-552] UUIDs. [GH-552]

View File

@ -143,7 +143,7 @@ func (b *Builder) Prepare(raws ...interface{}) error {
return errs return errs
} }
log.Println(common.ScrubConfig(b.config), b.config.AccessKey, b.config.SecretKey) log.Println(common.ScrubConfig(b.config, b.config.AccessKey, b.config.SecretKey))
return nil return nil
} }

View File

@ -56,7 +56,7 @@ func (b *Builder) Prepare(raws ...interface{}) error {
return errs return errs
} }
log.Println(common.ScrubConfig(b.config), b.config.AccessKey, b.config.SecretKey) log.Println(common.ScrubConfig(b.config, b.config.AccessKey, b.config.SecretKey))
return nil return nil
} }

View File

@ -159,7 +159,7 @@ func (b *Builder) Prepare(raws ...interface{}) error {
return errs return errs
} }
log.Println(common.ScrubConfig(b.config), b.config.AccessKey, b.config.SecretKey) log.Println(common.ScrubConfig(b.config, b.config.AccessKey, b.config.SecretKey))
return nil return nil
} }

View File

@ -51,7 +51,7 @@ func (b *Builder) Prepare(raws ...interface{}) error {
return errs return errs
} }
log.Println(common.ScrubConfig(b.config), b.config.Password) log.Println(common.ScrubConfig(b.config, b.config.Password))
return nil return nil
} }