You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-271Lines changed: 5 additions & 271 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,62 +4,19 @@ Python client for interacting with the OnlyKey.
4
4
5
5
OnlyKey-cli - A command line interface to the OnlyKey that can be used for configuration (Similar functionality to [OnlyKey App](https://docs.crp.to/app.html))
6
6
7
-
PGPMessage - **Still in early development.** - Provides a tool for decrypting and signing OpenPGP/GPG messages using OnlyKey (python only OpenPGP implementation).
8
-
9
-
10
-
<!---
11
-
## Run without installation (Packaged App)
12
-
13
-
### Mac OS Run without installation
14
-
15
-
Tested on El Capitan
16
-
17
-
Pre-compiled packaged apps have been provided here:
If decryption is successful the ASCII armored version of the message will be displayed. If decryption fails the message "Error with RSA decryption" will be displayed.
429
-
430
-
### Sign text email message using OnlyKey
431
-
432
-
If you using a previously set RSA private key with signing capabilities you can sign text messages in OpenPGP/GPG format:
433
-
434
-
```
435
-
$ PGP_message.py
436
-
```
437
-
438
-
`Do you want to sign or decrypt a message?`
439
-
`s = sign, d = decrypt`
440
-
```
441
-
s
442
-
443
-
Enter RSA key slot number to use (1 - 4) or enter 0 to list key labels
444
-
445
-
1
446
-
You should see your OnlyKey blink 3 times
447
-
448
-
Trying to read the public RSA N part 1...
449
-
450
-
Key Size = 512
451
-
452
-
Do you want to sign a text message or add signature to a PGP Message?
453
-
t = text message, p = PGP Message
454
-
455
-
t
456
-
457
-
Type or paste the text message, press return to go to new line, and then press Ctrl+D or Ctrl+Z (Windows only)
458
-
459
-
this message is from me!
460
-
461
-
You should see your OnlyKey blink 3 times
462
-
463
-
Sending the payload to the OnlyKey...
464
-
465
-
Please enter the 3 digit challenge code on OnlyKey (and press ENTER if necessary)
466
-
4 2 3
467
-
468
-
Trying to read the signature from OnlyKey
469
-
For RSA with 4096 keysize this may take up to 9 seconds...
If signature is successful the ASCII armored version of the message will be displayed. If signature fails the message "Error with RSA signature" will be displayed.
496
-
497
-
### Add a signature to a PGP message using OnlyKey
498
-
499
-
If you using a previously set RSA private key with signing capabilities you can sign text messages in OpenPGP/GPG format:
500
-
501
-
```
502
-
$ PGP_message.py
503
-
```
504
-
505
-
`Do you want to sign or decrypt a message?`
506
-
`s = sign, d = decrypt`
507
-
```
508
-
s
509
-
510
-
Enter RSA key slot number to use (1 - 4) or enter 0 to list key labels
511
-
512
-
1
513
-
514
-
You should see your OnlyKey blink 3 times
515
-
516
-
Key Size = 512
517
-
518
-
519
-
Do you want to sign a text message or add signature to a PGP Message?
520
-
t = text message, p = PGP Message
521
-
522
-
p
523
-
524
-
Paste OpenPGP Message, press return to go to new line, and then press Ctrl+D or Ctrl+Z (Windows only)
If signature is successful the ASCII armored version of the message will be displayed. If signature fails the message "Error with RSA signature" will be displayed.
572
-
573
-
## PGPMessage Support
574
-
575
-
Install w/PGPMessage support. Requires Python 2.7 and Git.
0 commit comments