Closed ricardogama closed 8 months ago
Hi @ricardogama,
Yes, the API Key license requires to wrote a file that contains the usages of the API Key, the full information regarding that available here https://help.unidoc.io/article/141-metered-license-api-key
We do offer the offline licenses that can works on closed and private environment.
Thanks @sampila, this will be an issue since we do run our images with a read only security context.
Where can I find more information about offline licenses? Or is this something that needs to be enabled on your side, let's say with the sales or customer success team?
The information regarding our licenses can be seen here https://unidoc.io/pricing.
@sampila Which one of these features contains offline licenses?
@sampila Which one of these features contains offline licenses?
Yes, that's one of our offline licenses, the API Key license is belong to our Pay-As-You-Go product, except that, it is offline licenses.
Hi @ricardogama,
We released new version of UniPDF https://github.com/unidoc/unipdf/releases/tag/v3.51.0, which is now support the env variable for "UNIDOC_LICENSE_DIR" to set the path location of metered API Key license states.
Hope this can solve your issue.
Closing this issue for now, you can re-open this issue if you are still facing this issue.
Best regards, Alip
Description
We run our applications on Kubernetes, with images built in Docker.
For compliance and security reasons, the user on the Dockerfile must not have root permissions, and the Kubernetes needs to run on a read only filesystem.
When using the library to write the PDF content to a buffer, an error occurs where there seems to be an attempt to write to disc, or more specifically a
mkdir
operation:Expected Behavior
Seems strange that the
creator.Write(io.Writer)
function requires a filesystem operation, since that seems to be a detail of theio.Writer
interface implementation, which in this case isbytes.Buffer
and there's no filesystem operation required.Actual Behavior
Steps to reproduce the behavior:
ENV UNIDOC_KEY foobar
with a valid license on the Dockerfiledocker build -t uni .
docker run uni
Attachments
Dockerfile
main.go