Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
05746443
Commit
05746443
authored
Sep 30, 2017
by
Sietse Ringers
Browse files
Use errors with stack traces
parent
6cf180b2
Changes
9
Hide whitespace changes
Inline
Side-by-side
attributes.go
View file @
05746443
...
...
@@ -3,13 +3,12 @@ package irmago
import
(
"crypto/sha256"
"encoding/binary"
"encoding/hex"
"encoding/json"
"errors"
"math/big"
"time"
"encoding/hex"
"github.com/go-errors/errors"
"github.com/mhe/gabi"
)
...
...
descriptions.go
View file @
05746443
...
...
@@ -3,7 +3,7 @@ package irmago
import
(
"encoding/xml"
"errors"
"
github.com/go-errors/
errors"
)
// SchemeManager describes a scheme manager.
...
...
keyshare.go
View file @
05746443
...
...
@@ -4,10 +4,10 @@ import (
"crypto/rand"
"crypto/sha256"
"encoding/base64"
"errors"
"math/big"
"strconv"
"github.com/go-errors/errors"
"github.com/mhe/gabi"
)
...
...
manager.go
View file @
05746443
package
irmago
import
(
"errors"
"math/big"
"crypto/rand"
"math/big"
"sort"
"github.com/credentials/go-go-gadget-paillier"
"github.com/go-errors/errors"
"github.com/mhe/gabi"
)
...
...
messages.go
View file @
05746443
...
...
@@ -3,10 +3,11 @@ package irmago
import
(
"encoding/base64"
"encoding/json"
"errors"
"fmt"
"math/big"
"strings"
"github.com/go-errors/errors"
)
// Status encodes the status of an IRMA session (e.g., connected).
...
...
oldprotocol.go
View file @
05746443
...
...
@@ -2,13 +2,12 @@ package irmago
import
(
"encoding/json"
"errors"
"math/big"
"github.com/go-errors/errors"
"github.com/mhe/gabi"
)
func
(
pki
*
publicKeyIdentifier
)
MarshalJSON
()
([]
byte
,
error
)
{
temp
:=
struct
{
Issuer
map
[
string
]
string
`json:"issuer"`
...
...
requests.go
View file @
05746443
...
...
@@ -3,13 +3,13 @@ package irmago
import
(
"crypto/sha256"
"encoding/asn1"
"errors"
"fmt"
"log"
"math/big"
"strconv"
"time"
"github.com/go-errors/errors"
"github.com/mhe/gabi"
)
...
...
storage.go
View file @
05746443
package
irmago
import
(
"crypto/rand"
"encoding/hex"
"encoding/json"
"errors"
"io/ioutil"
"os"
"crypto/rand"
"encoding/hex"
"path"
"time"
"github.com/go-errors/errors"
"github.com/mhe/gabi"
)
...
...
updates.go
View file @
05746443
...
...
@@ -3,11 +3,11 @@ package irmago
import
(
"encoding/json"
"encoding/xml"
"errors"
"html"
"io/ioutil"
"math/big"
"github.com/go-errors/errors"
"github.com/mhe/gabi"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment