Results 34 comments of Robin Thellend

I can think of ways to make this possible at the time the file is uploaded, before clicking the upload button. That would be a UI change on the client...

The client code will abort the `list` command if it fails to decrypt any of the albums metadata. I think this is what's happening to you. https://github.com/c2FmZQ/c2FmZQ/blob/main/c2FmZQ/internal/client/list.go#L342 We could make...

It's very odd that it would work in the PWA, but not in cli client. In the PWA, was the name of the "problematic" album displayed correctly?

I just added some extra logging to the client. If you see this error again, it'll help narrow down the cause of the problem.

The error means that the encrypted file header doesn't match the secret key for the album. I don't know how this could have happened. It could be random corruption, or...

This means there is some data corruption on the server side. The file headers change when the files are moved or copied between albums. It's possible that a bug in...

Try the client from this branch: https://github.com/c2FmZQ/c2FmZQ/tree/delete-files-with-broken-headers I added a `fix` command to the client cli. This command will delete all the files with a broken header from the directory...

That's interesting. ``` * Moving Testfolder/[KgC5LDMGtvdMtq-8ca1P4cuIVcPw2lnrjWtKsrlvS78.sp] -> .trash/IMG_20231113_151059.jpg ``` It knows the file name. That gives me a hint about where the problem could have come from.

I suspect the bug is in the cli client and that it is triggered by some combination of moving or copying files around between folders and syncing with the server....

A simple way to implement the original idea would be to use `http3.connection`: * Call `Server.ConnContext()` in `Server.handleConn()` right before `newConnection()` is called. * Set the returned value as hconn.requestBaseCtx...