platformOS Community

No "decrypt" filter for liquid?

gufron Apr 30 2021 at 23:28

When I use encrypt filter, how to use decrypt filter?
There is no docs about decryption in platformos-filter even in liquid documentation itself?

Thanks

  • Pawel May 06 2021 at 09:49
    Thanks for report. I think encrypt filter was created with external services in mind, to not send plaintext via the wire. Inside the same platfromOS application there is no real need to encrypt data. I reported missing filter to the backend team, because we might want to receive encrypted data from another platformOS instance, or any other 3rd party service.
  • Rich - DataOT May 10 2021 at 01:55
    +1 thanks Pawel :)
Patrick - Combinate Nov 24 2021 at 23:13

From https://documentation.platformos.com/api-reference/liquid/platformos-filters#encrypt

["Filter allowing to encrypt data with specified algorithm. See decrypt filter for decryption"]

There is no documented decrypt filter.

Testing this in the liquid markup tool (http://localhost:4444/gui/liquid/)
Liquid error: undefined filter decrypt

Has this been rolled out or not?
We need to generate encoded data to pass between instances for a SSO offering where a client has multiple instances. We have everything working, except the decrypt.

Example sites:
https://insites-first-big-demo-instance.staging.oregon.platform-os.com/test-login

Please sign in or fill up your profile to answer a question