forked from jumanjihouse/docker-duoauthproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to duoauthproxy 2.10.1 and resolve breaking changes
Upstream authproxy has new dependencies: * Add `procps` package since install script now requires `ps -p`. Upstream authproxy introduced breaking changes since 2.9: * Authproxy now absolutely needs to write to a logfile. * Authproxy no longer has the `-c CONFIG` option. The path to config is now hard-coded. Rebase on Centos instead of Alpine. * Authproxy now requires `FIPS_mode` that is not in LibreSSL. https://marc.info/?l=openbsd-misc&m=139819485423701&w=2 On Alpine (which has LibreSSL instead of OpenSSL), authproxy fails with: ``` Traceback (most recent call last): File "/opt/duoauthproxy/bin/authproxy", line 21, in <module> application = proxy.create_application(args=sys.argv) File "/opt/duoauthproxy/usr/local/lib/python2.7/site-packages/duoauthproxy/proxy.py", line 186, in create_application fips_mode = fips_manager.status() File "/opt/duoauthproxy/usr/local/lib/python2.7/site-packages/duoauthproxy/lib/fips_manager.py", line 42, in status return OPENSSL_LIB.FIPS_mode() AttributeError: 'module' object has no attribute 'FIPS_mode' ```
- Loading branch information
1 parent
cfbb038
commit a38113c
Showing
12 changed files
with
73 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ runtime/duoauthproxy.tgz | |
environment | ||
ci/vars | ||
fixtures/*/authproxy.cfg | ||
fixtures/**/ca-bundle.crt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# http://jorisroovers.github.io/gitlint/configuration/ | ||
[general] | ||
ignore=body-is-missing | ||
ignore=body-is-missing,body-max-line-length | ||
|
||
[title-max-length] | ||
line-length=72 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
FROM busybox | ||
COPY authproxy.cfg /etc/duoauthproxy/ | ||
VOLUME /etc/duoauthproxy/ | ||
COPY authproxy.cfg /opt/duoauthproxy/conf/ | ||
COPY ca-bundle.crt /opt/duoauthproxy/conf/ | ||
VOLUME /opt/duoauthproxy/conf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
FROM busybox | ||
COPY authproxy.cfg /etc/duoauthproxy/ | ||
VOLUME /etc/duoauthproxy/ | ||
COPY authproxy.cfg /opt/duoauthproxy/conf/ | ||
COPY ca-bundle.crt /opt/duoauthproxy/conf/ | ||
VOLUME /opt/duoauthproxy/conf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters