puppet-decrypt icon indicating copy to clipboard operation
puppet-decrypt copied to clipboard

Unable to encrypt or decrypt text

Open Dhananjay-J-P opened this issue 6 years ago • 1 comments

Hi Guys,

I am getting below error while executing encrypt command

puppet crypt encrypt passwordtext --secretkey alt_key
Error: undefined method `encrypt' for "passwordtext":String
Did you mean?  crypt
Error: Try 'puppet help crypt encrypt' for usage

Can you please help.

My puppet version is 5.3.3

Dhananjay-J-P avatar May 09 '18 09:05 Dhananjay-J-P

I have exactly the same issue. Ruby 2.0.0, Puppet 3.8.7.

The solution is to ensure that only encryptor 1.3 gem is installed and not 3.0.0

captainjack64 avatar Jul 11 '18 11:07 captainjack64