Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heapwolf/pkp
Public Key Pen! (code from my Nodeconf.eu talk)
https://github.com/heapwolf/pkp
Last synced: 25 days ago
JSON representation
Public Key Pen! (code from my Nodeconf.eu talk)
- Host: GitHub
- URL: https://github.com/heapwolf/pkp
- Owner: heapwolf
- Created: 2013-07-28T01:59:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-10T15:07:05.000Z (about 11 years ago)
- Last Synced: 2024-05-01T23:20:14.464Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 546 KB
- Stars: 12
- Watchers: 6
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Public Key Pen
Helps you create and distribute certificates. It is designed
to work in concert with [PKS][0].## USAGE
```
npm install pkp -g
pkp config
```### SIGNING
```
pkp sign --package [version]
pkp sign --remote
pkp sign ./path/to/code
```### THIRD PARTY VERIFICATION
The verify method tries to validate the certificates and their public
keys found in the cerrtificate of the specified code.```
pkp verify --package [version]
pkp verify --remote
pkp verify ./path/to/code
```[98]:http://people.csail.mit.edu/rivest/sdsi11.html#secprincipals
[99]:http://lcs3.syr.edu/faculty/chin/cse774/readings/pki/gutmann02.pdf## DATA CERTIFICATE SPEC
```json
{
"0.0.1": {
"addresses": "[email protected]",
"name": "Paolo Fragomeni",
"urls": ["async.ly/x"],
"public": "-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEAwIB6PV4gYy1X47zQllmke+KGYdXFH1xyrO0q4DZw3OBHr187xZWn81LWI6av\nyIhW+XDeVYuAud1+VqnsvsBASD19qc2xXiZ21cHdSfB1N2nSHBBHB2e+ubhDEN9PbhAcO+BK\ngr8E0/ucGy5thM70KZpVuJGXZJWABzlrin/Q3xyk/46OFQNj5DXjmSfSoWcs76TknAkttz0N\nc4QK3buByERNeWOjJsZjTj5w8StVpwfc2Ut3wUIoks/8w+nwqiAW1tHVoCjcol8fHIvRiiNH\n1bYS+ZkBgb0RUKzQkl+l8o6IfFzhSnvt9g+E5aVOgzJs/O2RdwjpHpVsfwh74pM8qwIDAQAB\n-----END RSA PUBLIC KEY-----\n\n",
"data": "7330651368657d5f711b5f15481949a9a30221b2",
"algorithm": "sha1",
"signatures": [
{
"addresses": "[email protected]",
"name": "John Doe",
"urls": ["somesite.com/x"],
"public": "-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEAwIB6PV4gYy1X47zQllmke+KGYdXFH1xyrO0q4DZw3OBHr187xZWn81LWI6av\nyIhW+XDeVYuAud1+VqnsvsBASD19qc2xXiZ21cHdSfB1N2nSHBBHB2e+ubhDEN9PbhAcO+BK\ngr8E0/ucGy5thM70KZpVuJGXZJWABzlrin/Q3xyk/46OFQNj5DXjmSfSoWcs76TknAkttz0N\nc4QK3buByERNeWOjJsZjTj5w8StVpwfc2Ut3wUIoks/8w+nwqiAW1tHVoCjcol8fHIvRiiNH\n1bYS+ZkBgb0RUKzQkl+l8o6IfFzhSnvt9g+E5aVOgzJs/O2RdwjpHpVsfwh74pM8qwIDAQAB\n-----END RSA PUBLIC KEY-----\n\n",
"signature": {
"data": "RjCojNv/oJMarme4zojP43rUKCoLADt2TQxOF2oOpEuOoSjD3uIGXa8raltUf7UNseTPXUFbktspgOaJ/z45C+uhOgdOrhAOgJudCT+22xsW1IG2LFmbnnEv865R5h6w38DYaFZK3BjddLR5IPrkoDHw+Pk5xr43npc/XU1BHxI7/xmNyi3ydm9DJ44WXwiQo7ypK5PbgNC+k6AN+XSFQm+sK1rH7w1d22J+jR48SHejNaXPyAkMEQDuEGu0v/gnT8GSh+GGPqJZNKg8QVbIXK5hDD7ztvHmU3w5hDlzWvUGMJ9OWUlNPrnc/swTW0PdO6C9OinXw7BjXVoJsjQk3g==",
"algorithm": "sha1-base64"
}
}
]
}
}
```[1]:http://groups.csail.mit.edu/cis/sdsi.html
[2]:http://www.rsa.com/rsalabs/node.asp?id=2165
[3]:http://firstmonday.org/ojs/index.php/fm/article/view/778/687