Private ReadonlyconfigPrivate ReadonlyloggerPrivate ReadonlyredisCloses the Redis connection gracefully when the NestJS module is torn down. Ensures in-flight commands are flushed before the connection is released.
Retrieves key metadata by identifier.
Application-assigned stable key identifier.
The stored Metadata, or
null if not found or expired. Errors when the stored value cannot be
parsed (corrupted entry).
Persists key metadata in Redis under metadata:{keyIdentifier}.
Overwrites any existing entry for the same identifier (re-key generation scenario). The TTL is reset on each write.
Application-assigned stable key identifier.
Metadata produced by the key-generation processor.
Persistence service for key metadata.
After a successful
GenerateKeygRPC call, the worker stores thepublicKeyPackage,algorithm,threshold, andparticipantsvalues here, indexed bykeyIdentifier. The signing processor retrieves these values to reconstruct the exact parameters required by the engine.Storage backend: Redis (same instance as BullMQ, separate key namespace).