diff --git a/changelog/jason-w123-fix-dumpkeyset-master.md b/changelog/jason-w123-fix-dumpkeyset-master.md new file mode 100644 index 0000000000..0ec7d8e8c4 --- /dev/null +++ b/changelog/jason-w123-fix-dumpkeyset-master.md @@ -0,0 +1,2 @@ +### Fixed +- Disable chunked-store in datool dumpkeyset diff --git a/cmd/anytrusttool/main.go b/cmd/anytrusttool/main.go index 0888d02933..1650a73302 100644 --- a/cmd/anytrusttool/main.go +++ b/cmd/anytrusttool/main.go @@ -363,6 +363,11 @@ func dumpKeyset(args []string) error { return err } + // Disable chunked store since dumpKeyset doesn't need to store data, + // it only needs to read public keys to compute the keyset hash. + // Chunked store requires a signer which is not available here. + config.Keyset.RPCClient.EnableChunkedStore = false + services, err := anytrust.ParseServices(config.Keyset, nil) if err != nil { return err