Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sapcc/nova-password
A tool to decrypt the admin password generated for the VM
https://github.com/sapcc/nova-password
decryption nova openstack openstack-nova password rsa
Last synced: about 1 month ago
JSON representation
A tool to decrypt the admin password generated for the VM
- Host: GitHub
- URL: https://github.com/sapcc/nova-password
- Owner: sapcc
- License: apache-2.0
- Created: 2019-06-05T12:08:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T13:41:18.000Z (about 2 months ago)
- Last Synced: 2024-11-07T14:30:28.151Z (about 2 months ago)
- Topics: decryption, nova, openstack, openstack-nova, password, rsa
- Language: Go
- Homepage:
- Size: 5.2 MB
- Stars: 6
- Watchers: 34
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
```sh
Get the admin password for an OpenStack serverUsage:
nova-password | [|...] [flags]Flags:
-d, --debug print out request and response objects
-h, --help help for nova-password
-i, --private-key-path string a path to the RSA private key (PuTTY and OpenSSH formats) (default "~/.ssh/id_rsa")
-q, --quiet quiet (no extra output)
-v, --version version for nova-password
-w, --wait uint wait for the password timeout in seconds
```## Prerequisites
* The private key corresponding to the public key, used to create a compute instance, is required
* Only RSA PKCS #1 v1.5 is supported by OpenStack## TLS options
* `OS_CACERT` - environment variable with a path to custom CA certificate.
* `OS_INSECURE` - skip endpoint TLS certificate validation. Set to `true` **only if you are otherwise convinced of the OpenStack endpoint's authenticity**.## Windows
```sh
.\openrc.ps1
.\nova-password.exe --private-key-path C:\Users\user\key.pem my-server
# or
.\nova-password.exe 717433dc-4c2e-4d62-9467-6dd3715b2c6c server-name
# or
.\nova-password.exe my-server -i C:\Users\user\.ssh\putty.ppk
```