Skip to content

Commit

Permalink
Merge pull request #44 from dajiaji/bump-to-v0_7_1
Browse files Browse the repository at this point in the history
Bump up version to v0.7.1.
  • Loading branch information
dajiaji authored May 22, 2022
2 parents 4d68c08 + dd85e25 commit 98d9c0b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Unreleased

## Version 0.7.1

Released 2022-05-22

- [(#42) Reject all-zero shared secret derived with X25519.](https://github.com/dajiaji/hpke-js/pull/42)
- [(#42) Add tests for key validation.](https://github.com/dajiaji/hpke-js/pull/42)

## Version 0.7.0

Released 2022-05-21
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This library works on both web browsers and Node.js (<b>currently, Deno is not s
## Index

- [Supported Features](#supported-features)
- [Warnings and Restrictions](#warnings-and-restrictions)
- [Installation](#installation)
- [Usage](#usage)
- [Base mode](#base-mode)
Expand Down Expand Up @@ -72,6 +73,13 @@ This library works on both web browsers and Node.js (<b>currently, Deno is not s
| ChaCha20Poly1305 ||| |
| Export Only ||| |

## Warnings and Restrictions

- Although this library has been passed the following test vectors, it has not been formally audited.
- [RFC9180 official test vectors on github.com/cfrg/draft-irtf-cfrg-hpke](https://github.com/cfrg/draft-irtf-cfrg-hpke/blob/5f503c564da00b0687b3de75f1dfbdfc4079ad31/test-vectors.json)
- [Test vectors for ECDH(P-256, P-384 and P-521) and X25519 key validation provided on Project Wycheproof](https://github.com/google/wycheproof)
- Input length restrictions defined in RFC9180 Section 7.2.1 and the upper limit of the AEAD sequence number are further rounded to JavaScripts's Number.MAX\_SAFE\_INTEGER(`2^53 - 1`).

## Installation

Using npm:
Expand All @@ -87,7 +95,7 @@ Using unpkg CDN:
<script src="https://unpkg.com/hpke-js/dist/hpke.min.js"></script>

<!-- use a specific version -->
<script src="https://unpkg.com/hpke-js@0.7.0/dist/hpke.min.js"></script>
<script src="https://unpkg.com/hpke-js@0.7.1/dist/hpke.min.js"></script>
```

Using jsDelivr CDN:
Expand All @@ -97,7 +105,7 @@ Using jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/hpke-js/dist/hpke.min.js"></script>

<!-- use a specific version -->
<script src="https://cdn.jsdelivr.net/npm/hpke-js@0.7.0/dist/hpke.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/hpke-js@0.7.1/dist/hpke.min.js"></script>
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hpke-js",
"version": "0.7.0",
"version": "0.7.1",
"description": "A Hybrid Public Key Encryption (HPKE) library",
"repository": {
"type": "git",
Expand Down

0 comments on commit 98d9c0b

Please sign in to comment.