I tried providing my github cookie as a Docker secret. Docker makes it appear inside the container as a world-readable file at /run/secrets/cookie.
It appears that ocaml-github checks the permissions, tries to chmod it (!), fails, throws away the error, and reports that the token doesn't exist. Quite confusing...
I guess this is the problem line:
I tried providing my github cookie as a Docker secret. Docker makes it appear inside the container as a world-readable file at
/run/secrets/cookie.It appears that ocaml-github checks the permissions, tries to chmod it (!), fails, throws away the error, and reports that the token doesn't exist. Quite confusing...
I guess this is the problem line:
ocaml-github/unix/github_cookie_jar.ml
Line 164 in ef5c33b