Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMPET-6987 Fix zeromq build #612

Merged
merged 1 commit into from
May 28, 2024
Merged

CASMPET-6987 Fix zeromq build #612

merged 1 commit into from
May 28, 2024

Conversation

mtupitsyn
Copy link
Contributor

@mtupitsyn mtupitsyn commented May 24, 2024

Summary and Scope

Container rebuild for zeromq:4.0.5 was broken for almost 2 years due to ZeroMQ source code download URL. This change adopts source code URL change, preserving version of zeromq.

Issues and Related PRs

Testing

Tested on:

  • Local development environment
  • Github workflow

Test description:

Github workflow is happy now. This image is used to run curve_keygen utility in shasta-cfg. Built image locally and ensured it provided similar functionality as the old one:

$ docker run -it --rm artifactory.algol60.net/csm-docker/stable/docker.io/zeromq/zeromq:v4.0.5 curve_keygen
This tool generates a CurveZMQ keypair, as two printable strings you can
use in configuration files or source code. The encoding uses Z85, which
is a base-85 format that is described in 0MQ RFC 32, and which has an
implementation in the z85_codec.h source used by this tool. The keypair
always works with the secret key held by one party and the public key
distributed (securely!) to peers wishing to connect to it.

== CURVE PUBLIC KEY ==
XENf64YIJ<7g/(E4.]G6Ray4FsW1O2O)8JEpi>bh

== CURVE SECRET KEY ==
ebcR+1&G7XJA06a[F2m5kh!f/Xyk&ftRe.56W?*B

$ docker build -t artifactory.algol60.net/csm-docker/stable/docker.io/zeromq/zeromq:latest .
...

$ docker run -it --rm artifactory.algol60.net/csm-docker/stable/docker.io/zeromq/zeromq:latest curve_keygen
This tool generates a CurveZMQ keypair, as two printable strings you can
use in configuration files or source code. The encoding uses Z85, which
is a base-85 format that is described in 0MQ RFC 32, and which has an
implementation in the z85_codec.h source used by this tool. The keypair
always works with the secret key held by one party and the public key
distributed (securely!) to peers wishing to connect to it.

== CURVE PUBLIC KEY ==
6J)vD1Neo1([q#^:IWg=2yvn$PTYa7Za}<P&>3<B

== CURVE SECRET KEY ==
QC9^nvG@a+PlQ4C!m]Uu5e]VyT:8#mapG5%0&QS*

Risks and Mitigations

None known.

@mtupitsyn mtupitsyn merged commit aacd9e8 into main May 28, 2024
2 checks passed
@mtupitsyn mtupitsyn deleted the feature/fix-zeromq branch May 28, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants