Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
b9e1d091
Commit
b9e1d091
authored
10 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Renamed "email" to "salt
parent
fa4f6cb0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
res/ui/account_cfg.ui
+5
-5
5 additions, 5 deletions
res/ui/account_cfg.ui
src/cutecoin/gui/process_cfg_account.py
+3
-3
3 additions, 3 deletions
src/cutecoin/gui/process_cfg_account.py
with
8 additions
and
8 deletions
res/ui/account_cfg.ui
+
5
−
5
View file @
b9e1d091
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<item>
<item>
<widget
class=
"QStackedWidget"
name=
"stacked_pages"
>
<widget
class=
"QStackedWidget"
name=
"stacked_pages"
>
<property
name=
"currentIndex"
>
<property
name=
"currentIndex"
>
<number>
0
</number>
<number>
1
</number>
</property>
</property>
<widget
class=
"QWidget"
name=
"page_init"
>
<widget
class=
"QWidget"
name=
"page_init"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_4"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_4"
>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<item>
<item>
<widget
class=
"QLabel"
name=
"label"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Account name
</string>
<string>
Account name
(uid)
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -132,9 +132,9 @@
...
@@ -132,9 +132,9 @@
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_5"
/>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_5"
/>
</item>
</item>
<item>
<item>
<widget
class=
"QLineEdit"
name=
"edit_
email
"
>
<widget
class=
"QLineEdit"
name=
"edit_
salt
"
>
<property
name=
"placeholderText"
>
<property
name=
"placeholderText"
>
<string>
Your
email
</string>
<string>
Your
salt
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -363,7 +363,7 @@
...
@@ -363,7 +363,7 @@
</hints>
</hints>
</connection>
</connection>
<connection>
<connection>
<sender>
edit_
email
</sender>
<sender>
edit_
salt
</sender>
<signal>
textChanged(QString)
</signal>
<signal>
textChanged(QString)
</signal>
<receiver>
AccountConfigurationDialog
</receiver>
<receiver>
AccountConfigurationDialog
</receiver>
<slot>
action_edit_account_key()
</slot>
<slot>
action_edit_account_key()
</slot>
...
...
This diff is collapsed.
Click to expand it.
src/cutecoin/gui/process_cfg_account.py
+
3
−
3
View file @
b9e1d091
...
@@ -65,7 +65,7 @@ class StepPageKey(Step):
...
@@ -65,7 +65,7 @@ class StepPageKey(Step):
if
len
(
self
.
config_dialog
.
edit_password
.
text
())
<
2
:
if
len
(
self
.
config_dialog
.
edit_password
.
text
())
<
2
:
return
False
return
False
if
len
(
self
.
config_dialog
.
edit_
email
.
text
())
<
2
:
if
len
(
self
.
config_dialog
.
edit_
salt
.
text
())
<
2
:
return
False
return
False
if
len
(
self
.
config_dialog
.
edit_password
.
text
())
<
6
:
if
len
(
self
.
config_dialog
.
edit_password
.
text
())
<
6
:
...
@@ -80,7 +80,7 @@ class StepPageKey(Step):
...
@@ -80,7 +80,7 @@ class StepPageKey(Step):
return
True
return
True
def
process_next
(
self
):
def
process_next
(
self
):
salt
=
self
.
config_dialog
.
edit_
email
.
text
()
salt
=
self
.
config_dialog
.
edit_
salt
.
text
()
password
=
self
.
config_dialog
.
edit_password
.
text
()
password
=
self
.
config_dialog
.
edit_password
.
text
()
self
.
config_dialog
.
account
.
salt
=
salt
self
.
config_dialog
.
account
.
salt
=
salt
self
.
config_dialog
.
account
.
pubkey
=
SigningKey
(
salt
,
password
).
pubkey
self
.
config_dialog
.
account
.
pubkey
=
SigningKey
(
salt
,
password
).
pubkey
...
@@ -180,7 +180,7 @@ class ProcessConfigureAccount(QDialog, Ui_AccountConfigurationDialog):
...
@@ -180,7 +180,7 @@ class ProcessConfigureAccount(QDialog, Ui_AccountConfigurationDialog):
self
.
button_next
.
setEnabled
(
False
)
self
.
button_next
.
setEnabled
(
False
)
def
action_show_pubkey
(
self
):
def
action_show_pubkey
(
self
):
salt
=
self
.
edit_
email
.
text
()
salt
=
self
.
edit_
salt
.
text
()
password
=
self
.
edit_password
.
text
()
password
=
self
.
edit_password
.
text
()
pubkey
=
SigningKey
(
salt
,
password
).
pubkey
pubkey
=
SigningKey
(
salt
,
password
).
pubkey
QMessageBox
.
information
(
self
,
"
Public key
"
,
QMessageBox
.
information
(
self
,
"
Public key
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment