We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-04-04 14:11:37 +0200 |
The current design for SD card mounting keeps a history of every SD card you have ever inserted. This is a serious privacy issue (for example, allowing authorities to find out who has read a Samizdat sdcard).
If the UUID-directory design is to be kept, the device must ensure that the information is not retained after the sdcard is removed. At least the following actions must be taken:
All this means that the card would be forgotten about if another card is inserted, but that is not a problem. Swapping cards is relatively rare, and having to re-index for tracker after swapping cards is not a big problem.
Alternatively, change the design so that the mount point is not named from the UUID but is chosen randomly. Of course, it would be useful for it to remain stable across boots, as long as the card has not been swapped, as that is the most common use case. This could be done by keeping a record (in a file, in the user's home directory so they can delete it when they choose) of the UUID of the last card seen and the mount point being used for it. If, on the next mount, the same UUID is seen, then the same mount point is used. If the UUID has changed, the file is deleted, a new random mount point created, and a new record created.
Even with this alternative design, it is important that tracker forget about the files it saw on the earlier sdcard. If that doesn't happen automatically, then there needs to be an option (probably in media player) to "clear private data", just like in the browser.
2 | retagged |
The current design for SD card mounting keeps a history of every SD card you have ever inserted. This is a serious privacy issue (for example, allowing authorities to find out who has read a Samizdat sdcard).
If the UUID-directory design is to be kept, the device must ensure that the information is not retained after the sdcard is removed. At least the following actions must be taken:
All this means that the card would be forgotten about if another card is inserted, but that is not a problem. Swapping cards is relatively rare, and having to re-index for tracker after swapping cards is not a big problem.
Alternatively, change the design so that the mount point is not named from the UUID but is chosen randomly. Of course, it would be useful for it to remain stable across boots, as long as the card has not been swapped, as that is the most common use case. This could be done by keeping a record (in a file, in the user's home directory so they can delete it when they choose) of the UUID of the last card seen and the mount point being used for it. If, on the next mount, the same UUID is seen, then the same mount point is used. If the UUID has changed, the file is deleted, a new random mount point created, and a new record created.
Even with this alternative design, it is important that tracker forget about the files it saw on the earlier sdcard. If that doesn't happen automatically, then there needs to be an option (probably in media player) to "clear private data", just like in the browser.
3 | No.3 Revision |
The current design for SD card mounting keeps a history of every SD card you have ever inserted. This is a serious privacy issue (for example, allowing authorities to find out who has read a Samizdat sdcard).
If the UUID-directory design is to be kept, the device must ensure that the information is not retained after the sdcard is removed. At least the following actions must be taken:
All this means that the card would be forgotten about if another card is inserted, but that is not a problem. Swapping cards is relatively rare, and having to re-index for tracker after swapping cards is not a big problem.
Alternatively, change the design so that the mount point is not named from the UUID but is chosen randomly. Of course, it would be useful for it to remain stable across boots, as long as the card has not been swapped, as that is the most common use case. This could be done by keeping a record (in a file, in the user's home directory so they can delete it when they choose) of the UUID of the last card seen and the mount point being used for it. If, on the next mount, the same UUID is seen, then the same mount point is used. If the UUID has changed, the file is deleted, a new random mount point created, and a new record created.
Even with this alternative design, it is important that tracker forget about the files it saw on the earlier sdcard. If that doesn't happen automatically, then there needs to be an option (probably in media player) to "clear private data", just like in the browser.