Skip to content

Commit

Permalink
Merge pull request #4 from jcape/feature/mobilecoin-0.2.1
Browse files Browse the repository at this point in the history
Move mobilecoin branch forward to 0.2.1
  • Loading branch information
James Cape authored Sep 23, 2021
2 parents 9a22d2a + 93779c4 commit 9881a8f
Show file tree
Hide file tree
Showing 108 changed files with 4,395 additions and 522 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/crypto-bigint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@ jobs:
- run: cargo test --target ${{ matrix.target }} --release --features zeroize
- run: cargo test --target ${{ matrix.target }} --release --all-features

proptests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: crypto-bigint/proptests
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- run: cargo test

# Cross-compiled tests
cross:
strategy:
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/pem-rfc7468.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: pem-rfc7468

on:
pull_request:
paths:
- "base64ct/**"
- "pem-rfc7468/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: pem-rfc7468

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features alloc

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --all-features
1 change: 1 addition & 0 deletions .github/workflows/pkcs1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "base64ct/**"
- "const-oid/**"
- "der/**"
- "pkcs1/**"
- "Cargo.*"
push:
branches: master
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pkcs8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features alloc
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features encryption
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features pem
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features pkcs1
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features pkcs5

test:
Expand All @@ -64,5 +65,7 @@ jobs:
- run: cargo test --release --features alloc
- run: cargo test --release --features encryption
- run: cargo test --release --features pem
- run: cargo test --release --features pkcs1
- run: cargo test --release --features pkcs1,alloc
- run: cargo test --release --features pkcs5
- run: cargo test --release --all-features
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
target
**/Cargo.lock
**/*proptest-regressions
112 changes: 96 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ members = [
"der/derive",
"hex-literal",
"opaque-debug",
"pem-rfc7468",
"pkcs1",
"pkcs5",
"pkcs8",
"spki",
"wycheproof2blb",
"x509"
]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This repository contains various utility crates used in the RustCrypto project.
| `der` | [![crates.io](https://img.shields.io/crates/v/der.svg)](https://crates.io/crates/der) | [![Documentation](https://docs.rs/der/badge.svg)](https://docs.rs/der) | Decoder and encoder of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in [ITU X.690] |
| `hex-literal` | [![crates.io](https://img.shields.io/crates/v/hex-literal.svg)](https://crates.io/crates/hex-literal) | [![Documentation](https://docs.rs/hex-literal/badge.svg)](https://docs.rs/hex-literal) | Procedural macro for converting hexadecimal string to byte array at compile time |
| `opaque-debug` | [![crates.io](https://img.shields.io/crates/v/opaque-debug.svg)](https://crates.io/crates/opaque-debug) | [![Documentation](https://docs.rs/opaque-debug/badge.svg)](https://docs.rs/opaque-debug) | Macro for opaque `Debug` trait implementation |
| `pem-rfc7468` | [![crates.io](https://img.shields.io/crates/v/pem-rfc7468.svg)](https://crates.io/crates/pem-rfc7468) | [![Documentation](https://docs.rs/pem-rfc7468/badge.svg)](https://docs.rs/pem-rfc7468) | Strict PEM encoding for PKIX/PKCS/CMS objects |
| `pkcs1` | [![crates.io](https://img.shields.io/crates/v/pkcs1.svg)](https://crates.io/crates/pkcs1) | [![Documentation](https://docs.rs/pkcs1/badge.svg)](https://docs.rs/pkcs1) | Implementation of PKCS#1: RSA Cryptography Specifications Version 2.2 ([RFC 8017]) |
| `pkcs5` | [![crates.io](https://img.shields.io/crates/v/pkcs5.svg)](https://crates.io/crates/pkcs5) | [![Documentation](https://docs.rs/pkcs5/badge.svg)](https://docs.rs/pkcs5) | Implementation of PKCS#5: Password-Based Cryptography Specification Version 2.1 ([RFC 8018]) |
| `pkcs8` | [![crates.io](https://img.shields.io/crates/v/pkcs8.svg)](https://crates.io/crates/pkcs8) | [![Documentation](https://docs.rs/pkcs8/badge.svg)](https://docs.rs/pkcs8) | Implementation of PKCS#8(v2): Private-Key Information Syntax Specification ([RFC 5208]) and asymmetric key packages ([RFC 5958]) |
Expand Down
6 changes: 6 additions & 0 deletions base64ct/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.1 (2021-08-14)
### Fixed
- Make `Encoding::decode` reject invalid padding ([#577])

[#577]: https://github.com/RustCrypto/utils/pull/577

## 1.0.0 (2021-03-17)
### Changed
- Bump MSRV to 1.47+ ([#334])
Expand Down
4 changes: 2 additions & 2 deletions base64ct/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "base64ct"
version = "1.0.0" # Also update html_root_url in lib.rs when bumping this
version = "1.0.1" # Also update html_root_url in lib.rs when bumping this
description = """
Pure Rust implementation of Base64 (RFC 4648) which avoids any usages of
data-dependent branches/LUTs and thereby provides portable "best effort"
Expand All @@ -11,7 +11,7 @@ license = "Apache-2.0 OR MIT"
edition = "2018"
documentation = "https://docs.rs/pkcs8"
repository = "https://github.com/RustCrypto/utils/tree/master/base64ct"
categories = ["cryptography", "encoding", "no-std"]
categories = ["cryptography", "encoding", "no-std", "parser-implementations"]
keywords = ["base64", "phc"]
readme = "README.md"

Expand Down
Loading

0 comments on commit 9881a8f

Please sign in to comment.