Skip to content

Commit c2977a8

Browse files
muhammadnnpdgm
authored andcommitted
rename p12 to pkcs12 for configuration to be more specific
1 parent 3983872 commit c2977a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func (exporter *Exporter) obtainP12Passwords(filename string) (string, error) {
342342
Password string `yaml:"password"`
343343
}
344344
type Config struct {
345-
P12 []P12Config `yaml:"p12"`
345+
P12 []P12Config `yaml:"pkcs12"`
346346
}
347347
var config Config
348348
if err = yaml.Unmarshal(passwordsFile, &config); err != nil {

passwords.yml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
p12:
2+
pkcs12:
33
- name: "keystore.p12"
44
password: "mysecretpassword1"
55
- name: "truststore.p12"

0 commit comments

Comments
 (0)