On 23/07/2022 12:22, Ihor Radchenko wrote:
Tentative patch is attached.

+  (if (< (length id) 3)
+      (org-attach-id-uuid-folder-format (md5 id))

Ihor, I am afraid of collisions due to short input to md5. Long hash value gives false impression of high entropy but actually there are not so many variants for 1 or 2 characters strings. Either there is no point in making long name from short id or random string of appropriate length should be used instead.


Reply via email to