-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #300 from dajiaji/bump-to-1_2_7
Bump version to 1.2.7.
- Loading branch information
Showing
11 changed files
with
82 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,9 +219,9 @@ Using deno.land: | |
|
||
```js | ||
// use a specific version | ||
import * as hpke from "https://deno.land/x/[email protected].6/mod.ts"; | ||
// import * as hpke from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
// import * as hpke from "https://deno.land/x/[email protected].6/x/dhkem-x25519/mod.ts"; | ||
import * as hpke from "https://deno.land/x/[email protected].7/mod.ts"; | ||
// import * as hpke from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
// import * as hpke from "https://deno.land/x/[email protected].7/x/dhkem-x25519/mod.ts"; | ||
|
||
// use the latest stable version | ||
import * as hpke from "https://deno.land/x/hpke/mod.ts"; | ||
|
@@ -239,8 +239,8 @@ Using esm.sh: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://esm.sh/[email protected].6"; | ||
// import * as hpke from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as hpke from "https://esm.sh/[email protected].7"; | ||
// import * as hpke from "https://esm.sh/@hpke/[email protected].7"; | ||
// ... | ||
</script> | ||
|
||
|
@@ -257,8 +257,8 @@ Using unpkg: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://unpkg.com/[email protected].6/esm/mod.js"; | ||
// import * as hpke from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as hpke from "https://unpkg.com/[email protected].7/esm/mod.js"; | ||
// import * as hpke from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
// ... | ||
</script> | ||
``` | ||
|
@@ -338,11 +338,11 @@ try { | |
Deno: | ||
|
||
```js | ||
import { AeadId, CipherSuite, KdfId, KemId } from "https://deno.land/x/[email protected].6/mod.ts"; | ||
import { AeadId, CipherSuite, KdfId, KemId } from "https://deno.land/x/[email protected].7/mod.ts"; | ||
// import { | ||
// Aes128Gcm, CipherSuite, HkdfSha256, | ||
// } from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
// import { DhkemX25519HkdfSha256 } from "https://deno.land/x/[email protected].6/x/dhkem-x25519/mod.ts"; | ||
// } from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
// import { DhkemX25519HkdfSha256 } from "https://deno.land/x/[email protected].7/x/dhkem-x25519/mod.ts"; | ||
|
||
async function doHpke() { | ||
// setup | ||
|
@@ -425,10 +425,10 @@ Browsers: | |
<head></head> | ||
<body> | ||
<script type="module"> | ||
import { AeadId, CipherSuite, KdfId, KemId } from "https://esm.sh/[email protected].6"; | ||
import { AeadId, CipherSuite, KdfId, KemId } from "https://esm.sh/[email protected].7"; | ||
// import { | ||
// Aes128Gcm, CipherSuite, DhkemP256HkdfSha256, HkdfSha256, | ||
// } from "@hpke/[email protected].6"; | ||
// } from "@hpke/[email protected].7"; | ||
globalThis.doHpke = async () => { | ||
try { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ Using deno.land: | |
|
||
```js | ||
// use a specific version | ||
import * as hpke from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import * as hpke from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
|
||
// use the latest stable version | ||
import * as hpke from "https://deno.land/x/hpke/core/mod.ts"; | ||
|
@@ -60,7 +60,7 @@ Using esm.sh: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].7"; | ||
// ... | ||
</script> | ||
|
||
|
@@ -76,7 +76,7 @@ Using unpkg: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
// ... | ||
</script> | ||
``` | ||
|
@@ -149,7 +149,7 @@ try { | |
```js | ||
import { | ||
Aes128Gcm, CipherSuite, DhkemP256HkdfSha256, HkdfSha256, | ||
} from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
} from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
|
||
async function doHpke() { | ||
// setup | ||
|
@@ -194,10 +194,10 @@ try { | |
<head></head> | ||
<body> | ||
<script type="module"> | ||
// import * as hpke from "https://esm.sh/[email protected].6"; | ||
// import * as hpke from "https://esm.sh/[email protected].7"; | ||
import { | ||
Aes128Gcm, CipherSuite, DhkemP256HkdfSha256, HkdfSha256, | ||
} from "https://esm.sh/@hpke/[email protected].6"; | ||
} from "https://esm.sh/@hpke/[email protected].7"; | ||
globalThis.doHpke = async () => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
// import { | ||
// Aes128Gcm, CipherSuite, DhkemP256HkdfSha256, HkdfSha256, | ||
// } from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
// import { DhkemX25519HkdfSha256 } from "https://deno.land/x/[email protected].6/x/dhkem-x25519/mod.ts"; | ||
// } from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
// import { DhkemX25519HkdfSha256 } from "https://deno.land/x/[email protected].7/x/dhkem-x25519/mod.ts"; | ||
import { | ||
AeadId, | ||
CipherSuite, | ||
KdfId, | ||
KemId, | ||
} from "https://deno.land/x/[email protected].6/mod.ts"; | ||
} from "https://deno.land/x/[email protected].7/mod.ts"; | ||
|
||
async function doHpke() { | ||
const suite = new CipherSuite({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"author": "Ajitomi Daisuke <[email protected]> (https://github.com/dajiaji)", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@hpke/core": "^1.2.6", | ||
"@hpke/dhkem-x25519": "^1.2.6" | ||
"@hpke/core": "^1.2.7", | ||
"@hpke/dhkem-x25519": "^1.2.7" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"author": "Ajitomi Daisuke <[email protected]> (https://github.com/dajiaji)", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@hpke/core": "^1.2.6", | ||
"@hpke/core": "^1.2.7", | ||
"ts-node": "^10.7.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,8 @@ Using deno.land: | |
|
||
```js | ||
// use a specific version | ||
import * as hpke from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import * as chacha20 from "https://deno.land/x/[email protected].6/x/chacha20poly1305/mod.ts"; | ||
import * as hpke from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import * as chacha20 from "https://deno.land/x/[email protected].7/x/chacha20poly1305/mod.ts"; | ||
|
||
// use the latest stable version | ||
import * as hpke from "https://deno.land/x/hpke/core/mod.ts"; | ||
|
@@ -63,8 +63,8 @@ Using esm.sh: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as chacha20 from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].7"; | ||
import * as chacha20 from "https://esm.sh/@hpke/[email protected].7"; | ||
// ... | ||
</script> | ||
|
||
|
@@ -81,8 +81,8 @@ Using unpkg: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as chacha20 from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
import * as chacha20 from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
// ... | ||
</script> | ||
``` | ||
|
@@ -149,8 +149,8 @@ try { | |
```js | ||
import { | ||
CipherSuite, DhkemP256HkdfSha256, HkdfSha256, | ||
} from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import { Chacha20Poly1305 } from "https://deno.land/x/[email protected].6/x/chacha20poly1305/mod.ts"; | ||
} from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import { Chacha20Poly1305 } from "https://deno.land/x/[email protected].7/x/chacha20poly1305/mod.ts"; | ||
|
||
async function doHpke() { | ||
// setup | ||
|
@@ -195,11 +195,11 @@ try { | |
<head></head> | ||
<body> | ||
<script type="module"> | ||
// import * as hpke from "https://esm.sh/[email protected].6"; | ||
// import * as hpke from "https://esm.sh/[email protected].7"; | ||
import { | ||
CipherSuite, DhkemP256HkdfSha256, HkdfSha256, | ||
} from "https://esm.sh/@hpke/[email protected].6"; | ||
import { Chacha20Poly1305 } from "https://esm.sh/@hpke/[email protected].6"; | ||
} from "https://esm.sh/@hpke/[email protected].7"; | ||
import { Chacha20Poly1305 } from "https://esm.sh/@hpke/[email protected].7"; | ||
globalThis.doHpke = async () => { | ||
try { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,8 @@ Using deno.land: | |
|
||
```js | ||
// use a specific version | ||
import * as hpke from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import * as secp256k1 from "https://deno.land/x/[email protected].6/x/dhkem-secp256k1/mod.ts"; | ||
import * as hpke from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import * as secp256k1 from "https://deno.land/x/[email protected].7/x/dhkem-secp256k1/mod.ts"; | ||
|
||
// use the latest stable version | ||
import * as hpke from "https://deno.land/x/hpke/core/mod.ts"; | ||
|
@@ -63,8 +63,8 @@ Using esm.sh: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as secp256k1 from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].7"; | ||
import * as secp256k1 from "https://esm.sh/@hpke/[email protected].7"; | ||
// ... | ||
</script> | ||
|
||
|
@@ -81,8 +81,8 @@ Using unpkg: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as secp256k1 from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
import * as secp256k1 from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
// ... | ||
</script> | ||
``` | ||
|
@@ -147,8 +147,8 @@ try { | |
### Deno | ||
|
||
```js | ||
import { Aes256Gcm, CipherSuite, HkdfSha512 } from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import { DhkemSecp256k1HkdfSha256 } from "https://deno.land/x/[email protected].6/x/dhkem-secp256k1/mod.ts"; | ||
import { Aes256Gcm, CipherSuite, HkdfSha512 } from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import { DhkemSecp256k1HkdfSha256 } from "https://deno.land/x/[email protected].7/x/dhkem-secp256k1/mod.ts"; | ||
|
||
async function doHpke() { | ||
// setup | ||
|
@@ -193,8 +193,8 @@ try { | |
<head></head> | ||
<body> | ||
<script type="module"> | ||
import { Aes128Gcm, CipherSuite, HkdfSha256 } from "https://esm.sh/@hpke/[email protected].6"; | ||
import { DhkemSecp256k1HkdfSha256 } from "https://esm.sh/@hpke/[email protected].6"; | ||
import { Aes128Gcm, CipherSuite, HkdfSha256 } from "https://esm.sh/@hpke/[email protected].7"; | ||
import { DhkemSecp256k1HkdfSha256 } from "https://esm.sh/@hpke/[email protected].7"; | ||
globalThis.doHpke = async () => { | ||
try { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,8 @@ Using deno.land: | |
|
||
```js | ||
// use a specific version | ||
import * as hpke from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import * as x25519 from "https://deno.land/x/[email protected].6/x/dhkem-x25519/mod.ts"; | ||
import * as hpke from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import * as x25519 from "https://deno.land/x/[email protected].7/x/dhkem-x25519/mod.ts"; | ||
|
||
// use the latest stable version | ||
import * as hpke from "https://deno.land/x/hpke/core/mod.ts"; | ||
|
@@ -63,8 +63,8 @@ Using esm.sh: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as x25519 from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].7"; | ||
import * as x25519 from "https://esm.sh/@hpke/[email protected].7"; | ||
// ... | ||
</script> | ||
|
||
|
@@ -81,8 +81,8 @@ Using unpkg: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as x25519 from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
import * as x25519 from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
// ... | ||
</script> | ||
``` | ||
|
@@ -147,8 +147,8 @@ try { | |
### Deno | ||
|
||
```js | ||
import { Aes128Gcm, CipherSuite, HkdfSha256 } from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import { DhkemX25519HkdfSha256 } from "https://deno.land/x/[email protected].6/x/dhkem-x25519/mod.ts"; | ||
import { Aes128Gcm, CipherSuite, HkdfSha256 } from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import { DhkemX25519HkdfSha256 } from "https://deno.land/x/[email protected].7/x/dhkem-x25519/mod.ts"; | ||
|
||
async function doHpke() { | ||
// setup | ||
|
@@ -193,8 +193,8 @@ try { | |
<head></head> | ||
<body> | ||
<script type="module"> | ||
import { Aes128Gcm, CipherSuite, HkdfSha256 } from "https://esm.sh/@hpke/[email protected].6"; | ||
import { DhkemX25519HkdfSha256 } from "https://esm.sh/@hpke/[email protected].6"; | ||
import { Aes128Gcm, CipherSuite, HkdfSha256 } from "https://esm.sh/@hpke/[email protected].7"; | ||
import { DhkemX25519HkdfSha256 } from "https://esm.sh/@hpke/[email protected].7"; | ||
globalThis.doHpke = async () => { | ||
try { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,8 @@ Using deno.land: | |
|
||
```js | ||
// use a specific version | ||
import * as hpke from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import * as x448 from "https://deno.land/x/[email protected].6/x/dhkem-x448/mod.ts"; | ||
import * as hpke from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import * as x448 from "https://deno.land/x/[email protected].7/x/dhkem-x448/mod.ts"; | ||
|
||
// use the latest stable version | ||
import * as hpke from "https://deno.land/x/hpke/core/mod.ts"; | ||
|
@@ -63,8 +63,8 @@ Using esm.sh: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as x448 from "https://esm.sh/@hpke/[email protected].6"; | ||
import * as hpke from "https://esm.sh/@hpke/[email protected].7"; | ||
import * as x448 from "https://esm.sh/@hpke/[email protected].7"; | ||
// ... | ||
</script> | ||
|
||
|
@@ -81,8 +81,8 @@ Using unpkg: | |
```html | ||
<!-- use a specific version --> | ||
<script type="module"> | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as x448 from "https://unpkg.com/@hpke/[email protected].6/esm/mod.js"; | ||
import * as hpke from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
import * as x448 from "https://unpkg.com/@hpke/[email protected].7/esm/mod.js"; | ||
// ... | ||
</script> | ||
``` | ||
|
@@ -147,8 +147,8 @@ try { | |
### Deno | ||
|
||
```js | ||
import { KdfId, AeadId, CipherSuite } from "https://deno.land/x/[email protected].6/core/mod.ts"; | ||
import { DhkemX448HkdfSha512 } from "https://deno.land/x/[email protected].6/x/dhkem-x448/mod.ts"; | ||
import { KdfId, AeadId, CipherSuite } from "https://deno.land/x/[email protected].7/core/mod.ts"; | ||
import { DhkemX448HkdfSha512 } from "https://deno.land/x/[email protected].7/x/dhkem-x448/mod.ts"; | ||
|
||
async function doHpke() { | ||
// setup | ||
|
@@ -193,8 +193,8 @@ try { | |
<head></head> | ||
<body> | ||
<script type="module"> | ||
import { Aes256Gcm, CipherSuite, HkdfSha512 } from "https://esm.sh/@hpke/[email protected].6"; | ||
import { DhkemX448HkdfSha512 } from "https://esm.sh/@hpke/[email protected].6"; | ||
import { Aes256Gcm, CipherSuite, HkdfSha512 } from "https://esm.sh/@hpke/[email protected].7"; | ||
import { DhkemX448HkdfSha512 } from "https://esm.sh/@hpke/[email protected].7"; | ||
globalThis.doHpke = async () => { | ||
try { | ||
|
Oops, something went wrong.