https://github.com/mdegans/gendeploykey
https://github.com/mdegans/gendeploykey
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mdegans/gendeploykey
- Owner: mdegans
- Created: 2021-08-06T22:02:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-06T22:02:55.000Z (almost 4 years ago)
- Last Synced: 2025-02-14T11:52:20.090Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `gendeploykey.py`
Is a simple script to generate a deploy key securely in place on an external
drive using any operating system.Usage is:
```
python3 gendeploykey.py private_key_filename_id_rsa
```The public key will be stored as `whatever_filename.pub` and also printed to
console so it can be added as a deploy key on GitHub (or wherever).## Safety features:
By default, `gendeploykey` will refuse to generate a private key on internal
storage. A **USB stick or MicroSD card must be used**. This check can be
disabled with `--no-check-path` but it's recommended you not do this unless the script is not detecting your external disk correctly.