aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-06 16:54:05 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-06 16:54:05 +0100
commit7019369606cd9e318e24d88f67784915ef9701ac (patch)
treef1f08cdc6932b7ae27b4b3bf372d094f05975f27 /account.go
parentaa171210937ad0d5cb4a0f4069061b6f78686197 (diff)
Minor changes
Diffstat (limited to 'account.go')
-rw-r--r--account.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/account.go b/account.go
index 3d01e1d..d116bed 100644
--- a/account.go
+++ b/account.go
@@ -11,6 +11,9 @@ import (
"github.com/square/go-jose"
)
+// KeySize is a default RSA key size
+const KeySize = 2048
+
type Account struct {
Contact []string `json:"contact"`
PrivKey *rsa.PrivateKey `json:"key"`