Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dfss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mpcs
dfss
Commits
8fe4d748
Commit
8fe4d748
authored
Apr 17, 2016
by
Loïck Bonniot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[d][c] Add client mail in demonstrator log
parent
022f627e
Pipeline
#681
passed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
dfssc/sign/starter.go
dfssc/sign/starter.go
+2
-0
dfssd/api/client.go
dfssd/api/client.go
+5
-0
dfssd/install.bat
dfssd/install.bat
+6
-0
No files found.
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
Markdown
is supported
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