Commit Graph
16 Commits
Author SHA1 Message Date
b506c612a4 feat(script): Make Script helper work in strict FIPS mode by avoiding client-side SHA-1 (#3700)
* script: avoid client-side SHA1 in FIPS mode

* modifying the script.go to add new constructor to explicitly control SHA-1 Behaviour(strict FIPS Builds - FIPS140)

* fixing the lint errors

* Add unit and integration tests for NewScriptServerSHA

* fixing the mod format issue

* Update go.mod

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Update go.sum

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Update go.sum

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Update script_server_sha_integration_test.go

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Update go.mod

Moved the dependency under require block

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
2026-03-28 12:45:51 +02:00
LINKIWIandGitHub 2ba8388eed feat(error): Add typed error for NOSCRIPT replies from Redis (#3738) 2026-03-18 17:02:09 +02:00
Vladimir Mihailenco d3d8002e89 feat: add HasErrorPrefix 2022-11-17 16:18:04 +02:00
tison d56af1f2d1 feat: support eval_ro and evalsha_ro
Signed-off-by: tison <[email protected]>
2022-09-24 11:38:04 +08:00
Vladimir Mihailenco bf010a705d Export scripter interface 2021-01-26 11:57:16 +02:00
Vladimir Mihailenco 14c843ef89 gofumports 2020-07-16 09:52:07 +03:00
Vladimir Mihailenco f5593121e0 Add ctx as first arg 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco f3ce3362a0 Add golangci-lint 2019-07-25 14:36:50 +03:00
Evan GoldschmidtandVladimir Mihailenco 7acec74c59 Script: Fix Exists to use hash instead of source (#726)
`SCRIPT EXISTS` accepts a hash, not the raw source: https://redis.io/commands/script-exists
2018-03-05 11:03:03 +02:00
Vladimir Mihailenco e3550dd65c Add Script.Hash 2017-05-24 15:24:47 +03:00
Vladimir Mihailenco 2e4944712d Document Script.Run. Fixes #536 2017-04-08 09:35:56 +03:00
Vladimir Mihailenco 34122bffa8 Check that clients implement scripter interface. 2016-12-14 12:12:50 +02:00
Vladimir Mihailenco 5e5a540eb1 Accept interface{} in Eval. Fixes #243. 2016-04-09 11:01:33 +03:00
Vladimir Mihailenco 771ae5f899 script: fix small API inconsistency (backwards compatible). 2015-06-11 17:17:06 +03:00
Vladimir Mihailenco 3bea997988 all: switch to gopkg.in. 2014-05-11 10:44:22 +03:00
Vladimir Mihailenco 8dd08e6e5a Add Lua script helper. 2013-05-22 17:56:59 +03:00