Displaying 1 result from an estimated 1 matches for "save_random_rsa_key".
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
...the AsymetricSentry class looks like the best
for what we need to do but I am not sure how to generate the key. The
docs say:
This is a shortcut for using an asymmetrical algorithm with a private/
public key file. To use this, generate a public and
private key with Sentry::AsymmetricalSentry.save_random_rsa_key
(private_key_file, public_key_file). If you want to encrypt the
private key file with a symmetrical algorithm, pass a secret key
(neither the key nor the decrypted value will be stored).
Sentry::AsymmetricSentry.save_random_rsa_key(private_key_file,
public_key_file, :key => ''secr...