Improved hashing for selfhosted registry password

This commit is contained in:
Kasra Bigdeli
2019-03-12 22:30:45 -07:00
parent a5db1d023c
commit dc2a5b6592
+1 -1
View File
@@ -122,7 +122,7 @@ class SelfHostedDockerRegistry {
const authContent =
CaptainConstants.captainRegistryUsername +
':' +
bcrypt.hashSync(password, bcrypt.genSaltSync(5))
bcrypt.hashSync(password, bcrypt.genSaltSync(10))
return fs.outputFile(
CaptainConstants.registryAuthPathOnHost,