summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfundon <cfddream@gmail.com>2014-09-29 12:37:34 +0800
committerfundon <cfddream@gmail.com>2014-09-29 12:37:34 +0800
commiteb1e6f8e3e6d55cd921fd6064eaa5a8e4357ac15 (patch)
tree6fa852acc2258b2f83fc885286bc5efd8ba8e532
parent263fc76b871fcec827a0944e7f1fed37328c4d06 (diff)
downloadgitea-eb1e6f8e3e6d55cd921fd6064eaa5a8e4357ac15.tar.gz
gitea-eb1e6f8e3e6d55cd921fd6064eaa5a8e4357ac15.zip
support dsa key format
-rw-r--r--models/publickey.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/publickey.go b/models/publickey.go
index 1824e88701..8bb924e853 100644
--- a/models/publickey.go
+++ b/models/publickey.go
@@ -101,6 +101,7 @@ var (
"(MCE)": 1702,
"(McE)": 1702,
"(RSA)": 2048,
+ "(DSA)": 1024,
}
)