From d19481a48ecbfa525643c312842c34ad4d8a61c6 Mon Sep 17 00:00:00 2001 From: Alver Date: Wed, 20 Jun 2018 11:07:53 +0800 Subject: [PATCH] fix bug in selecting signature scheme (#374) --- cmd/account.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/account.go b/cmd/account.go index 5d0afc9a..27cf6753 100644 --- a/cmd/account.go +++ b/cmd/account.go @@ -83,7 +83,7 @@ var schemeMap = map[string]schemeInfo{ "1": {"SHA224withECDSA", s.SHA224withECDSA}, "2": {"SHA256withECDSA", s.SHA256withECDSA}, "3": {"SHA384withECDSA", s.SHA384withECDSA}, - "4": {"SHA512withEdDSA", s.SHA512withEDDSA}, + "4": {"SHA512withECDSA", s.SHA512withECDSA}, "5": {"SHA3-224withECDSA", s.SHA3_224withECDSA}, "6": {"SHA3-256withECDSA", s.SHA3_256withECDSA}, "7": {"SHA3-384withECDSA", s.SHA3_384withECDSA}, @@ -93,7 +93,7 @@ var schemeMap = map[string]schemeInfo{ "SHA224withECDSA": {"SHA224withECDSA", s.SHA224withECDSA}, "SHA256withECDSA": {"SHA256withECDSA", s.SHA256withECDSA}, "SHA384withECDSA": {"SHA384withECDSA", s.SHA384withECDSA}, - "SHA512withEdDSA": {"SHA512withEdDSA", s.SHA512withEDDSA}, + "SHA512withECDSA": {"SHA512withECDSA", s.SHA512withECDSA}, "SHA3-224withECDSA": {"SHA3-224withECDSA", s.SHA3_224withECDSA}, "SHA3-256withECDSA": {"SHA3-256withECDSA", s.SHA3_256withECDSA}, "SHA3-384withECDSA": {"SHA3-384withECDSA", s.SHA3_384withECDSA},