Comments (6)
Hi,
I don't think you shared the Dockerfile
corresponding to the output, as with your Dockerfile
, I get an error on ssh
not existing.
Regardless, this works:
FROM varnish:7.0-alpine
RUN apk update && apk add --no-cache \
python3 \
py3-docutils \
py3-sphinx \
libtool \
make \
automake \
git \
autoconf \
libmhash-dev --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
# install libvmod-digest
ENV LIBVMOD_DIGEST_BRANCH=master
RUN \
set -x && \
git clone -b ${LIBVMOD_DIGEST_BRANCH} https://github.com/varnish/libvmod-digest.git && \
cd libvmod-digest && \
./autogen.sh && \
./configure && \
make install && \
cd .. && \
rm -rf libvmod-digest && \
ldconfig
Note that varnish-dev
is already installed in the image, so there's no need to install it. And I'm not sure ldconfig
is needed here, but eh, probably doesn't hurt.
The set -x
will show each command as they are run, so that should help pinpoint the issue.
could you confirm it works for you please?
from libvmod-digest.
Removing the ldconfig did the trick, even with set -x it didn't show anything more.
Thank you really.. my bad, not an issue on the package can be closed & removed.
from libvmod-digest.
good to read! You can keep an eye on https://github.com/xcir/vmod-packager it should pick up the ability to package apk
soonβ’
from libvmod-digest.
Thanks, oh woaw... it would be amazing to manage Vmod easily.
And maybe Varnish will share some of their Varnish Plus packages....
Just to ask, we are thinking to use RS256 alg for our JWT tokens, can I test the signature using your package ? or do you have any feedback ? Thanks again
from libvmod-digest.
currently, this vmod doesn't support it (and probably won't as it is in maitenance mode), however, Varnish Enterprise has https://docs.varnish-software.com/varnish-cache-plus/vmods/jwt/ which seems to be exactly what you want
from libvmod-digest.
Yes, just for the joke I worked with it and created all my stack, then I realized it was in the Varnish Plus offer, which is priceless. We managed to test it with HMAC, but we prefer RS256 over H256.
This example relies on your vmod: https://feryn.eu/blog/validating-json-web-tokens-in-varnish/, and it works, now I am just trying to have kind of the same result with RS256.
I will share if we find. Thanks for your time!
from libvmod-digest.
Related Issues (20)
- Don't work digest.base64_decode HOT 4
- Compile issue on CentOS 7 HOT 15
- Compile issue on RHEL7 HOT 9
- centos 6.4 compile error due to dependency HOT 2
- Using "hmac_*" causes 0x to be prefixed. HOT 2
- Request, add feature to verify RS256 signed JWT tokens HOT 2
- How to install? HOT 2
- build fails with Varnish 5.2/master, @ '# error "include vrt.h before vcl.h"' HOT 2
- Compile broken on FreeBSD HOT 6
- VCL compilation fails with current varnish (6.2.0) HOT 7
- Unknown types in file included from vmod_digest HOT 1
- digest.base64 not working HOT 1
- libvmod-digest cannot be make HOT 3
- test02.vtc fails on i386 HOT 3
- New release (for varnish 6.2+) anytime soon? HOT 1
- distcheck fails against Varnish 6.4 HOT 8
- Cannot compile for Varnish 6.4 (or any other version) HOT 6
- The clean target should remove vmod_digest.3 HOT 1
- WS_ReserveAll Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libvmod-digest.