Archive with password and encrypted names prompt when using a Filter object

I realized something, not sure if it's by design.
If I have a password protected RAR with encrypted names, and then try to use a Filter object with a value that request some form of metadata, a password prompt will appear. Is that expected? Can it be avoided?
To reproduce, you need:

  1. Create a Column that Requests Metadata: You can use this Evaluator column:
return (IsSet(latitude) && IsSet(longitude)) ? "yes" : "no";
as XML
<?xml version="1.0"?>
<evalcolumn align="0" attrrefresh="no" autorefresh="no" customgrouping="no" foldertype="shell" header="Localizable" keyword="islocalizable" maxstars="5" namerefresh="no" reversesort="no" title="Localizable" type="0">return (IsSet(latitude) &amp;&amp; IsSet(longitude)) ? &quot;yes&quot; : &quot;no&quot;;</evalcolumn>
  1. A script in a button, to use with the target file :
    RAR and filter.dcf (974 Bytes)

  2. A password protected archive with encrypted names. Here's a ready to use RAR sample (password is 12345).
    rar_encrypted.rar (958 Bytes)

To reproduce :

  1. Install the column.
  2. Select a file and run the script.
  3. For the sample file, a prompt should appear.

Note : If you actually enter the password, the prompt no longer appears when using the same file again.

We've made a change for the next beta which will suppress those password prompts.

1 Like

Leo many thanks!

FWIW, this still happens in 13.11.6 when using a RAR or 7z archive with a password. It doesn't seem to happen with ZIP files, though.

A quick test can be done using the latest version of this script, and opening a password-protected RAR or 7z archive with it.

Edit : Not necessary for the names to be encrypted.

Plugin Support API SDK.rar (1.1 MB)
(a sample file to make testing easier)

If I run ColumnsViewer with the archive itself selected, I don't get any password prompt.

If I open the archive and select one of the files inside it, then run ColumnsViewer, a password prompt is triggered by the script calling FSUtil.GetMetaData on the file, which I think makes sense.

Thanks for taking the time to look into this.
My case is different. Using the file from above.

BTW, Im just using ColumnsViewer with no other arguments.
What could be causing the difference then?