You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifsvs, ok:=inputStore.(sops.SingleValueStore); ok {
2095
+
isSingleValueStore=svs.IsSingleValueStore()
2096
+
}
2097
+
2098
+
ifisSingleValueStore {
2099
+
// Warn about settings that potentially disable encryption of the single key.
2100
+
ifunencryptedSuffix!="" {
2101
+
log.Warn(fmt.Sprintf("Using an unencrypted suffix does not make sense with the input store (the %s store produces one key that should always be encrypted) and will be ignored.", inputStore.Name()))
2102
+
}
2103
+
ifencryptedSuffix!="" {
2104
+
log.Warn(fmt.Sprintf("Using an encrypted suffix does not make sense with the input store (the %s store produces one key that should always be encrypted) and will be ignored.", inputStore.Name()))
2105
+
}
2106
+
ifencryptedRegex!="" {
2107
+
log.Warn(fmt.Sprintf("Using an encrypted regex does not make sense with the input store (the %s store produces one key that should always be encrypted) and will be ignored.", inputStore.Name()))
2108
+
}
2109
+
ifunencryptedRegex!="" {
2110
+
log.Warn(fmt.Sprintf("Using an unencrypted regex does not make sense with the input store (the %s store produces one key that should always be encrypted) and will be ignored.", inputStore.Name()))
2111
+
}
2112
+
ifencryptedCommentRegex!="" {
2113
+
log.Warn(fmt.Sprintf("Using an encrypted comment regex does not make sense with the input store (the %s store never produces comments) and will be ignored.", inputStore.Name()))
2114
+
}
2115
+
// Do not warn about unencryptedCommentRegex and macOnlyEncrypted since they cannot have any effect.
0 commit comments