Commit cb1f5e2
fix: validate engine name in migration to prevent installation failures
During app installation, the migration Version13000Date20251031165700
was attempting to generate a CA identifier with an invalid or 'none'
engine name, causing InvalidArgumentException.
This fix adds validation to ensure only valid engine names ('openssl'
or 'cfssl') are used when generating the CA identifier. Invalid values
are now safely ignored.
Fixes installation error: 'Database error when running migration
13000Date20251031165700 for app libresign - Invalid engine name: none'
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 679cc18 commit cb1f5e2
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
0 commit comments