Re: Strange FS download behaviour

2025-02-07 Thread Martin Schanzenbach
I see. After a brief look at gnunet-publish and the fs service API I think adding this is fine. BR Martin Am 07.02.25 um 19:23 schrieb Alessio Vanni: Hello, the wrapper is just a proposal and I don't really have strong feelings about it, so if it's deemed not necessary that's fine. The th

Re: Strange FS download behaviour

2025-02-07 Thread Alessio Vanni
Hello, the wrapper is just a proposal and I don't really have strong feelings about it, so if it's deemed not necessary that's fine. The thing is not about safety, the API itself is not "unsafe" and the wrapper is not "safe". It's just that since gnunet-publish uses share tree items to publish a

Re: Strange FS download behaviour

2025-02-07 Thread Martin Schanzenbach
Hi, two things. First regarding the issue: The proposed function is a simple wrapper, as you say. I do not understand what the incorrect/dangerous use of GNUNET_FS_file_information_create_from_file is supposed to be, given a ShareTreeItem. (the function is probably also better called GNUN

Re: Strange FS download behaviour

2025-02-07 Thread Alessio Vanni
Hello, I've investigated the issue some more and I found the issue. Before that, a bit of history to understand the context: For the past few months I've been on-and-off developing a suite of tools based on the FS subsystem; these tools are almost ready for release and I was planning to announce

Re: Strange FS download behaviour

2025-02-05 Thread Martin Schanzenbach
It sounds like a regression in DHT or a long-standing issue in FS. For now, I will simply open an issue on mantis. BR Martin Am 04.02.25 um 21:16 schrieb Alessio Vanni: Hello, I'm facing a strange issue when making an attempt to download something shared with FS under certain circumstances.