
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
github.com/ronanmacf/grpc-go/security/advancedtls
Advanced tools
This testdata directory contains the certificates used in the tests of package advancedtls.
Supposing we are going to create a subject_cert.pem that is trusted by ca_cert.pem, here are the
commands we run:
Generate the private key, ca_key.pem, and the cert ca_cert.pem, for the CA:
$ openssl req -x509 -newkey rsa:4096 -keyout ca_key.pem -out ca_cert.pem -nodes -days $DURATION_DAYS
Generate a private key subject_key.pem for the subject:
$ openssl genrsa -out subject_key.pem 4096
Generate a CSR csr.pem using subject_key.pem:
$ openssl req -new -key subject_key.pem -out csr.pem
For some cases, we might want to add some extra SAN fields in subject_cert.pem.
In those cases, we can create a configuration file(for example, localhost-openssl.cnf), and do the following:
$ openssl req -new -key subject_key.pem -out csr.pem -config $CONFIG_FILE_NAME
Use ca_key.pem and ca_cert.pem to sign csr.pem, and get a certificate, subject_cert.pem, for the subject:
This step requires some additional configuration steps and please check out this answer from StackOverflow for more.
$ openssl ca -config openssl-ca.cnf -policy signing_policy -extensions signing_req -out subject_cert.pem -in csr.pem -keyfile ca_key.pem -cert ca_cert.pem
Please see an example configuration template at openssl-ca.cnf.
Verify the subject_cert.pem is trusted by ca_cert.pem:
$ openssl verify -verbose -CAfile ca_cert.pem subject_cert.pem
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.