This repository was archived by the owner on Mar 1, 2026. It is now read-only.
Commit f68149e
committed
BUG#32327411 : OFFLINE KEYRING MIGRATION FROM KEYRING_FILE REPORTS
SUCCESS, BUT MIGRATES NO KEYS
Problem: For empty or non-existing keyring sources, the offline keyring
migration reports success, but no appropriate warning message is shown.
If the user enters a relative path for the --keyring-file-data variable,
the source keyring is looked in the basedir, as offline keyring
migration
doesn't support relative path, entering a relative path might result in
empty keyring source generation, and transferring keys from it.
Fix: Now the migration process will check for any error during the key
fetch
, if there's no error, and there are no keys, then a warning message is
shown that keyring has no keys in it.
The test will try to migrate the keys from an empty keyring source, and
looks for the warning message in the server log.
RB#274011 parent f497369 commit f68149e
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11587 | 11587 | | |
11588 | 11588 | | |
11589 | 11589 | | |
| 11590 | + | |
| 11591 | + | |
| 11592 | + | |
11590 | 11593 | | |
11591 | 11594 | | |
11592 | 11595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
501 | 507 | | |
502 | 508 | | |
503 | 509 | | |
| |||
0 commit comments