moolticute icon indicating copy to clipboard operation
moolticute copied to clipboard

File Management file size change

Open rms5566 opened this issue 5 years ago • 2 comments

Expected behavior

If you upload a file to the Mooltipass Mini BLE it should show the size of the file. It is possible that it is a bit bigger than the actual file size on windows.

Actual behavior

If you upload a file to the Mooltipass Mini BLE it shows 448 bytes (4 more bytes then windows) it it totaly fine. But when I enter File Management Mode and discard any changes the file is 512 bytes big now. Is that right or is there any bug?

Step by step guide to reproduce the problem

  1. upload any file. I uploaded a SSH ECDSA 521 Byte private key.
  2. accept the prompt on the Mooltipass
  3. note down the actual size(448 bytes) and then enter FIle Management Mode
  4. discard any changes
  5. now the file size is 512 bytes big?

Moolticute Version

v0.43.17-testing

Operating System

  • Windows 10 Enterprise LTSB 2016

Mooltipass Device

Mention if you are using either:

  • The Mooltipass Mini BLE

rms5566 avatar Jun 04 '20 13:06 rms5566

@limpkin is it possible that the Mooltipass compress the file to save some disc space but the file is getting bigger instead? I know it is normal for very small files if you want to compress them. If I download the file from The Mooltipass it is 4 bytes smaller then the original one.

rms5566 avatar Jun 04 '20 13:06 rms5566

added https://github.com/mooltipass/minible/issues/390

limpkin avatar Mar 12 '23 14:03 limpkin