Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
8fe4d748
Commit
8fe4d748
authored
Apr 17, 2016
by
Loïck Bonniot
Browse files
[d][c] Add client mail in demonstrator log
parent
022f627e
Pipeline
#681
passed with stage
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
dfssc/sign/starter.go
View file @
8fe4d748
...
...
@@ -12,6 +12,7 @@ import (
cAPI
"dfss/dfssc/api"
"dfss/dfssc/common"
"dfss/dfssc/security"
dAPI
"dfss/dfssd/api"
pAPI
"dfss/dfssp/api"
"dfss/dfssp/contract"
"dfss/net"
...
...
@@ -72,6 +73,7 @@ func NewSignatureManager(fileCA, fileCert, fileKey, addrPort, passphrase string,
}
m
.
mail
=
m
.
auth
.
Cert
.
Subject
.
CommonName
dAPI
.
SetIdentifier
(
m
.
mail
)
m
.
cServer
=
m
.
GetServer
()
go
func
()
{
log
.
Fatalln
(
net
.
Listen
(
"0.0.0.0:"
+
strconv
.
Itoa
(
port
),
m
.
cServer
))
}()
...
...
dfssd/api/client.go
View file @
8fe4d748
...
...
@@ -24,6 +24,11 @@ func Configure(activated bool, addrport, id string) {
demo
=
activated
}
// SetIdentifier updates the current client identifier.
func
SetIdentifier
(
id
string
)
{
identifier
=
id
}
// Lazy initialisation for demonstrator's connection to server
func
dInit
()
error
{
var
err
error
...
...
dfssd/install.bat
0 → 100755
View file @
8fe4d748
set
GOARCH
=
386
set
CGO_ENABLED
=
1
cd
gui
..\..\..\github.com\visualfc\goqt\bin\goqt_rcc.exe
-go
gui
-o
application
.qrc.go
application
.qrc
cd
..
go
build
-v -ldflags
"-H windowsgui"
-o
..\bin\dfssd.exe
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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