Skip to content

Commit ce6de16

Browse files
authored
Merge pull request paketo-buildpacks#40 from paketo-buildpacks/reproducible-keystore
Reproducible KeyStore
2 parents d5e158b + 387602e commit ce6de16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

certificate_loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func (CertificateLoader) readKeyStore(path string, password string) (keystore.Ke
185185
}
186186
defer in.Close()
187187

188-
ks := keystore.New()
188+
ks := keystore.New(keystore.WithOrderedAliases())
189189
if err := ks.Load(in, []byte(password)); err != nil {
190190
return keystore.KeyStore{}, fmt.Errorf("unable to decode keystore\n %w", err)
191191
}

0 commit comments

Comments
 (0)