Skip to content

Commit

Permalink
parse int with 32-bit bound
Browse files Browse the repository at this point in the history
  • Loading branch information
msladek committed Jan 15, 2022
1 parent 07f3191 commit 9199850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/enpasscli/main.go
Expand Up @@ -229,7 +229,7 @@ func initializeStore(logger *logrus.Logger, args *Args) *unlock.SecureStore {

pepper := os.Getenv("ENP_PIN_PEPPER")

pinKdfIterCount, err := strconv.ParseInt(os.Getenv("ENP_PIN_ITER_COUNT"), 10, 64)
pinKdfIterCount, err := strconv.ParseInt(os.Getenv("ENP_PIN_ITER_COUNT"), 10, 32)
if err != nil {
pinKdfIterCount = pinDefaultKdfIterCount
}
Expand Down

0 comments on commit 9199850

Please sign in to comment.