Skip to content

Commit b60e830

Browse files
3.0.6
Fix for #3662, #3660 Updated documentation Small code review fixes
1 parent 5ca02ed commit b60e830

File tree

15 files changed

+100
-80
lines changed

15 files changed

+100
-80
lines changed

docs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
[![Build Status](https://scrutinizer-ci.com/g/nilsteampassnet/TeamPass/badges/build.png?b=master)](https://scrutinizer-ci.com/g/nilsteampassnet/TeamPass/build-status/master)
1313
[![Code Intelligence Status](https://scrutinizer-ci.com/g/nilsteampassnet/TeamPass/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)
1414

15-
> 💪 Work in progress - 📡 [Old documentation](https://teampass.readthedocs.io/en/latest/) is still available.
15+
> 💪 Work in progress
16+
>
17+
> 📡 Old documentation is still available at [teampass.readthedocs.io](https://teampass.readthedocs.io/en/latest/).
1618
1719
## Features
1820

docs/_media/tp3_keys_1.png

37.7 KB
Loading

docs/_media/tp3_keys_2.png

28.6 KB
Loading

docs/_media/tp3_keys_3.png

8.79 KB
Loading

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- [Extra](install/extra-settings.md)
99
- **Features**
1010
- [Authentication](features/authentication.md)
11+
- [Keys](features/keys.md)
1112
- [Roles](features/roles.md)
1213
- **Manage**
1314
- [Settings](manage/settings.md)

docs/features/keys.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!-- docs/features/keys.md -->
2+
3+
> 🚧 Under construction
4+
5+
## Generalities
6+
7+
In Teampass, all encrypted elements (such as passwords and encrypted fields) have a unique key for each user.
8+
This key is encrypted with his/hers login password.
9+
Such a process ensures a high level of security for all data stored in the database through Teampass.
10+
11+
💡 [Read more](../install/encryption.md) about this encryption process.
12+
13+
## Regenerate your keys (as a User)
14+
15+
For any reason, if you notice that while browsing Teampass's objects, all related passwords are empty then it might be a corruption of your private key is corrupted.
16+
Could be after several login password changes.
17+
18+
For regenerated all your keys, just follow the next instructions.
19+
20+
1. Select entry `Generate new keys` in personal menu
21+
![1](../_media/tp3_keys_1.png)
22+
23+
2. Ensure that the form contains your login password
24+
![1](../_media/tp3_keys_2.png)
25+
26+
3. Click `Confirm` button
27+
28+
4. Once started, the process will run in background during several minutes. You can still use Teampass but all the passwords will be blank.
29+
On top of screen, an orange box will show you the process progress. Once finished, you will have your passwords back.
30+
![1](../_media/tp3_keys_3.png)
31+
32+
> 💡 During this process, you can change page and even leave Teampass.

docs/features/roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- docs/features/roles.md -->
22

33

4-
> STILL UNDER CONSTRUCTION
4+
> 🚧 Under construction
55
66
## Generalities
77

docs/install/encryption.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ User credentails are stored encrypted in the database. The encryption is perform
1616
Teampass encrypts sensitive data and especially password part of any defined item.
1717

1818
The encryption relies on public and private keys each user has. When a user is added, his keys are generated following the next process.
19-
![Generating user keys](./_media/tp3_encrypt_user.png)
19+
![Generating user keys](../_media/tp3_encrypt_user.png)
2020

2121
Each encrypted element (password, custom fields) has one shared key by user. This key can only be decrypted with one user Password and Private key.
22-
![Element encryption](./_media/tp3_encrypt_item.png)
22+
![Element encryption](../_media/tp3_encrypt_item.png)
2323

2424
When a user has to visualize an encrypted element, his password and private key is mandatory
25-
![encryption model](./_media/tp3_decrypt_item.png)
25+
![encryption model](../_media/tp3_decrypt_item.png)

pages/items.js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4582,7 +4582,7 @@ function(teampassItem) {
45824582
$('#card-item-field-' + field.id)
45834583
.removeClass('hidden')
45844584
.children(".card-item-field-value")
4585-
.text(field.value);
4585+
.html(field.value);
45864586
}
45874587
// Item edit form
45884588
$('#form-item-field-' + field.id)

pages/search.js.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @see https://www.teampass.net
2727
*/
2828

29-
$var = [];
29+
$var = [];
3030
$var['hidden_asterisk'] = '<i class="fas fa-asterisk mr-2"></i><i class="fas fa-asterisk mr-2"></i><i class="fas fa-asterisk mr-2"></i><i class="fas fa-asterisk mr-2"></i><i class="fas fa-asterisk"></i>';
3131

3232
?>
@@ -74,7 +74,7 @@
7474
"url": "<?php echo $SETTINGS['cpassman_url']; ?>/includes/language/datatables.<?php echo $_SESSION['user']['user_language']; ?>.txt"
7575
},
7676
"columns": [{
77-
"width": "10%",
77+
"width": "70px",
7878
class: "details-control",
7979
defaultContent: ""
8080
},

0 commit comments

Comments
 (0)