duritong / trocla

A password store for password creation and retrieval
Other
76 stars 18 forks source link

Add encryption support #21

Closed Thomas-Gelf closed 9 years ago

Thomas-Gelf commented 9 years ago

Hi,

I tried to add modular encryption support to Trocla. Currently I implemented only asymmetric SSL-based encryption, that should suffice for most Puppet environments. I'd prefer to use symmetric encryption with random IVs and asymmetrically encrypted keys - but that's not that easy to implement based on Moneta. The current compromise should however be fine for most use cases.

For me the use case was a distributed Puppet environment with passwords stored in a shared database.

Cheers, Thomas

Thomas-Gelf commented 9 years ago

Fixed tests failing on Ruby 1.8.7

duritong commented 9 years ago

Can we get the braces everywhere? ;-) Sorry...

Thomas-Gelf commented 9 years ago

Even for single-param method calls? Ok, if you love them :p

Thomas-Gelf commented 9 years ago

Here you go

duritong commented 9 years ago

Thanks a lot! This is an awesome contribution!