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
The password is requested by gnome-autoar, when archive_entry_is_encrypted returns TRUE. This is fine for ZIP, but not for RAR/7ZIP, or perhaps some other formats, where the subsequent archive_read_data_block (or archive_read_next_header in the case of archive_entry_is_metadata_encrypted) returns an error that it is not supported. I would suggest returning FALSE from archive_entry_is_encrypted resp. archive_entry_is_metadata_encrypted when the encryption is not supported or adding some new API to determine this situation before asking a user for a password. Or is there already a way to achieve this somehow?
The password is requested by gnome-autoar, when
archive_entry_is_encrypted
returnsTRUE
. This is fine for ZIP, but not for RAR/7ZIP, or perhaps some other formats, where the subsequentarchive_read_data_block
(orarchive_read_next_header
in the case ofarchive_entry_is_metadata_encrypted
) returns an error that it is not supported. I would suggest returningFALSE
fromarchive_entry_is_encrypted
resp.archive_entry_is_metadata_encrypted
when the encryption is not supported or adding some new API to determine this situation before asking a user for a password. Or is there already a way to achieve this somehow?Related to https://gitlab.gnome.org/GNOME/gnome-autoar/-/merge_requests/34 and #1374.
The text was updated successfully, but these errors were encountered: