You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've reached your project shortly after knowing that plv8 exists and it was possible to write postgres functions in javascript, which is awesome.
I'm trying to setup a trigger that verifies the signature of a record just inserted/updated using a public key. As I'm using AWS RDS and it does not like to allow unsecure extensions, I've found that if I could import the "createVerify" function from "crypto" module, it would be enough to solve it without much more trouble.
I know that this library is not intended solve this exact problem, but do you think it's possible to import "createVerify" inside a postgres function? (I guess that it's not possible to create a trigger using this lib)
The text was updated successfully, but these errors were encountered:
I've reached your project shortly after knowing that plv8 exists and it was possible to write postgres functions in javascript, which is awesome.
I'm trying to setup a trigger that verifies the signature of a record just inserted/updated using a public key. As I'm using AWS RDS and it does not like to allow unsecure extensions, I've found that if I could import the "createVerify" function from "crypto" module, it would be enough to solve it without much more trouble.
I know that this library is not intended solve this exact problem, but do you think it's possible to import "createVerify" inside a postgres function? (I guess that it's not possible to create a trigger using this lib)
The text was updated successfully, but these errors were encountered: