]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Arc: Unify sign and verify options
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 28 Sep 2020 11:25:01 +0000 (12:25 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 28 Sep 2020 11:25:01 +0000 (12:25 +0100)
src/plugins/lua/arc.lua

index 8188656e1b2d1a404c7d5b066eedc321004a43a2..611249f5c337b10124a55720828831282d32127d 100644 (file)
@@ -547,7 +547,7 @@ local function arc_sign_seal(task, params, header)
     }
   })
   task:insert_result(settings.sign_symbol, 1.0,
-      string.format('i=%d:%s:s=%s', cur_idx, params.domain, params.selector))
+      string.format('%s:s=%s:i=%d', params.domain, params.selector, cur_idx))
 end
 
 local function prepare_arc_selector(task, sel)