-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add crypto utils, template functions and ibm vpc certificate #865
Conversation
Thanks for making a pull request! 😃 |
a93fd31
to
4413093
Compare
Codecov ReportBase: 18.11% // Head: 18.11% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #865 +/- ##
=======================================
Coverage 18.11% 18.11%
=======================================
Files 46 46
Lines 3731 3731
=======================================
Hits 676 676
Misses 2890 2890
Partials 165 165 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start. Few initial comments
Signed-off-by: Mehant Kammakomati <kmehant@gmail.com>
4413093
to
7a58987
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also make them available to starlark as custom functions
filesystem/templatecopy.go
Outdated
var err error | ||
methodMap := template.FuncMap{ | ||
"execTpl": execTpl(packageTemplate), | ||
"aesCbcPbkdfEnc": common.AesCbcEncryptWithPbkdfWrapper, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably will help to have a prefix like say encryptAesCbcPbkdf and encrypt_ RsaCert, so that it is easier to decipher the various functions.
91ecaa7
to
5480b23
Compare
5480b23
to
0b2f63e
Compare
Signed-off-by: Mehant Kammakomati <kmehant@gmail.com>
0b2f63e
to
2b141ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Signed-off-by: Mehant Kammakomati kmehant@gmail.com