Skip to content

Commit

Permalink
Add Github Actions
Browse files Browse the repository at this point in the history
Markdownlint and Shellcheck
  • Loading branch information
thibmeu committed Jan 26, 2024
1 parent be34328 commit 3e820a6
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "CI Checks"
permissions: {}

on: [push, pull_request]

jobs:
markdownlint:
name: Markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Markdownlint
uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: |
README.md
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/[email protected]
with:
scandir: './scripts'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- markdownlint-disable MD013 -->
# Public Key Cryptography Test Keys

![GitHub License](https://img.shields.io/github/license/thibmeu/rfc9500)


[RFC 9500](https://www.rfc-editor.org/rfc/rfc9500.html) proposes a set of standard test keys. This repository presents the private and public keys, in different format to ease consumptions.

## Table of Content
Expand Down
6 changes: 3 additions & 3 deletions scripts/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
########

# Generate public keys
for n in {1024,2048,4096}; do openssl dsa -in ./pem/testDLP${n}.pem -pubout -out ./pem/testDLP${n}.pub.pem; done
for n in {256,384,521}; do openssl ec -in ./pem/testECCP${n}.pem -pubout -out ./pem/testECCP${n}.pub.pem; done
for n in {1024,2048,4096}; do openssl rsa -in ./pem/testRSA${n}.pem -pubout -out ./pem/testRSA${n}.pub.pem; done
for n in {1024,2048,4096}; do openssl dsa -in "./pem/testDLP${n}.pem" -pubout -out "./pem/testDLP${n}.pub.pem"; done
for n in {256,384,521}; do openssl ec -in "./pem/testECCP${n}.pem" -pubout -out "./pem/testECCP${n}.pub.pem"; done
for n in {1024,2048,4096}; do openssl rsa -in "./pem/testRSA${n}.pem" -pubout -out "./pem/testRSA${n}.pub.pem"; done


########
Expand Down

0 comments on commit 3e820a6

Please sign in to comment.