@icedevml/tinypki-client-side-cert-req 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +30 -30
- package/package.json +8 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 @icedevml
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 @icedevml
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# TinyPKI ClientSideCertReq Library
|
|
2
|
-
|
|
3
|
-
A part of TinyPKI project, with the intention to facilitate higher adoption of mTLS.
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
* Client-side PKCS#10 Certificate Signing Request (CSR) generation using Web Crypto API key pairs (RSA/ECDSA/Ed25519);
|
|
7
|
-
* Bundling PEM certificate chain and private key together into PKCS#12 container (`.P12` or `.PFX` file);
|
|
8
|
-
|
|
9
|
-
## Installation
|
|
10
|
-
|
|
11
|
-
This library is distributed in two formats:
|
|
12
|
-
* ESM library installable from NPM Registry:
|
|
13
|
-
```
|
|
14
|
-
npm install --save @icedevml/tinypki-client-side-cert-req
|
|
15
|
-
# or
|
|
16
|
-
yarn add @icedevml/tinypki-client-side-cert-req
|
|
17
|
-
```
|
|
18
|
-
* Single-file JavaScript bundle (approx 500 kB) suitable for including on any HTML5 web page without any external
|
|
19
|
-
dependencies (see [GitHub Releases](https://github.com/icedevml/tinypki-client-side-cert-req/releases) for pre-built files)
|
|
20
|
-
|
|
21
|
-
## Manual building
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
yarn
|
|
25
|
-
yarn build
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Usage
|
|
29
|
-
|
|
30
|
-
See `demo/` directory for example usage.
|
|
1
|
+
# TinyPKI ClientSideCertReq Library
|
|
2
|
+
|
|
3
|
+
A part of TinyPKI project, with the intention to facilitate higher adoption of mTLS.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
* Client-side PKCS#10 Certificate Signing Request (CSR) generation using Web Crypto API key pairs (RSA/ECDSA/Ed25519);
|
|
7
|
+
* Bundling PEM certificate chain and private key together into PKCS#12 container (`.P12` or `.PFX` file);
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
This library is distributed in two formats:
|
|
12
|
+
* ESM library installable from NPM Registry:
|
|
13
|
+
```
|
|
14
|
+
npm install --save @icedevml/tinypki-client-side-cert-req
|
|
15
|
+
# or
|
|
16
|
+
yarn add @icedevml/tinypki-client-side-cert-req
|
|
17
|
+
```
|
|
18
|
+
* Single-file JavaScript bundle (approx 500 kB) suitable for including on any HTML5 web page without any external
|
|
19
|
+
dependencies (see [GitHub Releases](https://github.com/icedevml/tinypki-client-side-cert-req/releases) for pre-built files)
|
|
20
|
+
|
|
21
|
+
## Manual building
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
yarn
|
|
25
|
+
yarn build
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
See `demo/` directory for example usage.
|
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icedevml/tinypki-client-side-cert-req",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "TinyPKI ClientSideCertReq Library",
|
|
5
|
-
"license": "MIT",
|
|
6
5
|
"main": "dist/index.js",
|
|
7
6
|
"module": "dist/index.js",
|
|
8
7
|
"types": "dist/types/index.d.ts",
|
|
8
|
+
"repository": "https://github.com/icedevml/tinypki-client-side-cert-req",
|
|
9
|
+
"author": "Michal Leszczynski ml@icedev.pl (https://github.com/icedevml)",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/icedevml/tinypki-client-side-cert-req/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/icedevml/tinypki-client-side-cert-req?tab=readme-ov-file#readme",
|
|
9
15
|
"exports": {
|
|
10
16
|
".": {
|
|
11
17
|
"import": "./dist/index.js",
|