зеркало из https://github.com/mozilla/gecko-dev.git
a881c4a167
Summary: MozReview-Commit-ID: 6YorBs4mY8B Check for COSE signatures in add-ons. Reviewers: keeler Bug #: 1403844 Differential Revision: https://phabricator.services.mozilla.com/D298 --HG-- rename : security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed_with_pkcs7.zip rename : security/manager/ssl/tests/unit/test_signed_apps/cose_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_signed_with_pkcs7.zip rename : third_party/rust/cose/src/cbor/mod.rs => third_party/rust/moz_cbor/src/lib.rs extra : rebase_source : 0494590eb222e2c936e353e4dd6cf9fac8d822f3 |
||
---|---|---|
.. | ||
examples/sign_verify | ||
src | ||
tools/certs | ||
.cargo-checksum.json | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
build.rs | ||
rustfmt.toml |
README.md
cose-rust
A Rust library for COSE using NSS.
THIS IS WORK IN PROGRESS. DO NOT USE YET.
Build instructions
If NSS is not installed in the path, use NSS_LIB_DIR
to set the library path where
we can find the NSS libraries.
cargo build
Run Tests and Examples
To run tests and examples you need NSS in your library path. Tests can be run with
cargo test
and examples with
cargo run --example sign_verify