Skip to content

Commit 5aaa872

Browse files
authored
Merge pull request #8 from binance/v0.5.0
v0.5.0 release
2 parents 2806349 + 2c02e73 commit 5aaa872

File tree

7 files changed

+217
-152
lines changed

7 files changed

+217
-152
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# CHANGELOG
22

3+
## v0.5.0
4+
- Default for `ed25519` keys
5+
- Change app name
6+
37
## v0.4.0
48
- Add support for `ed25519` keys
5-
9+
610
## v0.3.1
711
- Fix tooltip on canceled save
812
- Update dependencies

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
# Key Pair Generator
1+
# Asymmetric Key Generator
22

3-
This simple tool can be used to generate an RSA and Ed25519 PKCS#8 key pairs (private and public key).
3+
This simple tool can be used to generate an Ed25519 PKCS#8 and RSA key pairs (private and public key).
44

55
There's two methods to run the tool, you can either download or build from source code.
66

77
## Download
8-
Prebuild apps can be found in [Releases](https://github.com/binance/rsa-key-generator/releases).
8+
Prebuild apps can be found in [Releases](https://github.com/binance/asymmetric-key-generator/releases).
99

1010
To verify the package's integrity, download both the app and the checksum file to the same directory:
1111

1212
```shell
13-
-rw-r--r--@ 1 john staff 156M 18 Nov 17:02 RSAKeyGenerator-0.3.0-universal.dmg
14-
-rw-r--r--@ 1 john staff 102B 18 Nov 19:01 RSAKeyGenerator-0.3.0-universal.dmg.CHECKSUM
13+
-rw-r--r--@ 1 john staff 156M 18 Nov 17:02 AsymmetricKeyGenerator-0.5.0-universal.dmg
14+
-rw-r--r--@ 1 john staff 102B 18 Nov 19:01 AsymmetricKeyGenerator-0.5.0-universal.dmg.CHECKSUM
1515
```
1616

1717
Then run sha256 checksum:
1818

1919
```shell
20-
sha256sum -c RSAKeyGenerator-0.3.0-universal.dmg.CHECKSUM
20+
sha256sum -c AsymmetricKeyGenerator-0.5.0-universal.dmg.CHECKSUM
2121
```
2222

23-
If it passes the integrity check, it'll return `RSAKeyGenerator-0.3.0-universal.dmg: OK`
23+
If it passes the integrity check, it'll return `AsymmetricKeyGenerator-0.5.0-universal.dmg: OK`
2424

2525
## Build from source code
2626

27-
Obtain the source code locally and go through the following steps:
27+
Obtain the source code locally and go through the following steps:
2828

2929
```javascript
3030

@@ -43,7 +43,7 @@ npm run dist
4343

4444
1. Open the app;
4545

46-
2. Choose the key type; Recommend to keep the default value (` RSA 2048`), then click the button `Generate Key Pair`;
46+
2. Choose the key type; Recommend to keep the default value (`Ed25519`), then click the button `Generate Key Pair`;
4747

4848
3. Below on the left column is the `Private Key`, which should be stored in a secure location on your local disk (by using the `Save` button) and must never be shared with anyone;
4949

assets/html/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ <h1 class="text-3xl font-bold">Generate</h1>
2727
<div class="grid grid-cols-3 gap-x-8 w-3/4 py-2">
2828
<div>
2929
<select id="select-keyType" class="select select-bordered">
30+
<option value="ed25519">Ed25519</option>
3031
<option value="rsa-2048">RSA (2048 bits)</option>
3132
<option value="rsa-4096">RSA (4096 bits)</option>
32-
<option value="ed25519">Ed25519</option>
3333
</select>
3434
</div>
3535
<div class="col-span-2 pl-4">

config/electron-builder.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const os = require('os')
22
const { notarize } = require('@electron/notarize')
33

44
const config = {
5-
appId: 'rsa-key-generator',
6-
productName: 'RSAKeyGenerator',
5+
appId: 'asymmetric-key-generator',
6+
productName: 'AsymmetricKeyGenerator',
77
mac: {
88
target: {
99
target: 'dmg',
@@ -35,7 +35,7 @@ const config = {
3535
const appName = context.packager.appInfo.productFilename;
3636

3737
return await notarize({
38-
appBundleId: 'com.binance.RSAKeyGenerator',
38+
appBundleId: 'com.binance.AsymmetricKeyGenerator',
3939
appPath: `${appOutDir}/${appName}.app`,
4040
appleId: process.env.NOTARIZE_APPLE_ID,
4141
appleIdPassword: process.env.NOTARIZE_APPLE_PASSWORD,

0 commit comments

Comments
 (0)