Skip to content

[#1774] Support unencrypted pgBackRest repositories in pgmoneta-muse - #1777

Open
ecleon26 wants to merge 1 commit into
pgmoneta:mainfrom
ecleon26:muse-unencrypted
Open

ecleon26 wants to merge 1 commit into
pgmoneta:mainfrom
ecleon26:muse-unencrypted

Conversation

@ecleon26

@ecleon26 ecleon26 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

fixes #1774

@ecleon26
ecleon26 requested a review from Jubilee101 December 1, 2026 06:19
@ecleon26 ecleon26 self-assigned this Dec 1, 2026
Comment thread src/libpgmoneta/migration_pgbackrest.c Outdated
return 1;
}

salted = fread(magic, 1, sizeof(magic), file) == sizeof(magic) &&

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to check the file for the salted header? backup.info or backup.manifest should have information whether the backup is encrypted or not.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we should changed it to decide by whether there's a cipher-pass in the metadata (or source_password for backup.info/archive.info) instead of checking the header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pgmoneta-muse crashes on unencrypted pgBackRest repositories

2 participants