Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Documenting how to use OpenSSL::SSL::SSLContext in PQC use cases

Ouverte
#1,118 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
55/100
Type d'issue
Documentation
Clarté
Plutôt claire
Activité
Active
Stack technique
ruby

Piste de recherche

Start by reviewing the examples in ruby-pqc-test/openssl and ruby-pqc-test/openssl/script, along with the referenced OpenSSL workflow. Then inspect html/OpenSSL.html, html/OpenSSL/SSL/SSLContext.html, and html/OpenSSL/SSL/SSLSocket.html to determine the best placement for the PQC guidance. Done means the generated RDoc pages explain the relevant SSLContext and socket APIs with ML-DSA and ML-KEM examples.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

The ruby/drb started to support PQC by the PR https://github.com/ruby/drb/pull/62. The approach is that drb accepts OpenSSL::SSL::SSLContext object from users. However, drb users need to understand how to create OpenSSL::SSL::SSLContext instance for PQC use cases. The usages are such as using #groups= to specify the key exchange algorithm with ML-KEM, and using #sigalgs= to specify signature algorithms with ML-DSA only for ML-DSA cert server, or ML-DSA/RSA for ML-DSA/RSA multiple cert server.

I created the following Ruby scripts to show the examples of OpenSSL::SSL::SSLContext in some PQC server/client cases with ML-DSA single certificate server and ML-DSA/RSA multiple certificate server.

I want to document the usages of OpenSSL::SSL::SSLContext in PQC use cases in ruby/openssl, to fill the knowledge gap, and guide users of other ruby/* libraries accepting or exposing OpenSSL::SSL::SSLContext instance.

I want to update the following generated rdoc documents, adding the PQC related contents with code examples.

  • html/OpenSSL.html - This document shows topic-based code examples on the top of the page. So, adding new section "Post-Quantum Cryptography" or/and "ML-DSA Encryption".
  • html/OpenSSL/SSL/SSLContext.html - #groups=, #sigalgs=
  • html/OpenSSL/SSL/SSLSocket.html - #group, #sigalg, #peer_sigalg

I am still considering what is the best to document this topic. What do you think? Is there a good idea about where and how to document this topic?

Langage dominant
C
Étoiles
276
Forks
203
Merge moyen
1 j 7 h
PR mergées (30 j)
9

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ruby/openssl

Toutes les issues de ruby/openssl

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.