Andrius Štikonas
|
f8ba25fdfa
|
Improve used space detection to use fs utils when not mounted.
|
2017-01-05 17:27:17 +00:00 |
Teo Mrnjavac
|
30ac4bb6ab
|
[Coverity] Initialize all members.
CID 147251
|
2016-12-13 16:46:36 +01:00 |
Andrius Štikonas
|
cbe21e7ef9
|
Fix online resize of encrypted volumes.
|
2016-12-06 21:42:44 +00:00 |
Andrius Štikonas
|
2e960d5c00
|
Make initLUKS function non-static.
|
2016-11-30 17:18:51 +00:00 |
Teo Mrnjavac
|
52b356e45f
|
Make sure to always also read outerUuid.
|
2016-11-30 17:44:03 +01:00 |
Teo Mrnjavac
|
5e40017238
|
Add FS::luks::outerUuid().
|
2016-11-30 16:42:03 +01:00 |
Teo Mrnjavac
|
eb3b90ec9e
|
Handle cryptsetup luksUUID failure.
|
2016-11-16 15:20:54 +01:00 |
Andrius Štikonas
|
bb8514e859
|
Fix handling of encrypted LVM physical volumes.
|
2016-11-03 14:21:18 +00:00 |
Andrius Štikonas
|
36202cc1ad
|
Replace complicated QPair type with custom LvmPV class.
|
2016-11-02 23:06:55 +00:00 |
Andrius Štikonas
|
e103c65b73
|
Always force LUKS password (in case crypsetup is compiled with libpwquality).
|
2016-10-30 02:41:24 +00:00 |
Andrius Štikonas
|
3272cd3f5f
|
Do not allow deactivating LUKS containers containing active LVM physical volumes.
|
2016-10-30 02:31:46 +00:00 |
Andrius Štikonas
|
5592c05ef3
|
Mark luks sector size to be constexpr.
|
2016-09-12 19:43:58 +01:00 |
Chantara Tith
|
874900fe72
|
Move initLUKS from helpers to FS::luks.
|
2016-09-12 23:49:20 +07:00 |
Chantara Tith
|
c70945b116
|
Change LUKS default logicalSectorSize to 512
|
2016-09-12 23:44:17 +07:00 |
Andrius Štikonas
|
7c0a32758e
|
Do not check for cryptsetup executable so often.
|
2016-09-07 15:14:25 +01:00 |
Andrius Štikonas
|
d197b9b06e
|
Optimize LUKS scanning.
|
2016-09-06 18:21:17 +01:00 |
Andrius Štikonas
|
b95fe45d66
|
Fix a bug when creating a luks encrypted partition.
|
2016-09-06 00:25:59 +01:00 |
Andrius Štikonas
|
5e5178b3af
|
Initial work on storing LVM variables during initial scan.
|
2016-09-05 14:48:36 +01:00 |
Andrius Štikonas
|
d83ec394b1
|
Make Filesystem::create non-const.
|
2016-09-05 12:10:56 +01:00 |
Andrius Štikonas
|
b3e82d7c75
|
Cache LUKS specific variables during initial scan.
|
2016-09-04 23:32:00 +01:00 |
Chantara Tith
|
0d09853bd4
|
Remove hardcoded 4096 payloadOffset.
|
2016-08-15 17:20:50 +01:00 |
Andrius Štikonas
|
fd8c81921e
|
Get rid of unused LVM flag for LVM LV.
|
2016-08-15 17:20:50 +01:00 |
Chantara Tith
|
97c20ef236
|
Fix Luks over LVM resizing. Hardcode 512 as the sector instead of LVM PE size.
|
2016-08-15 17:20:50 +01:00 |
Chantara Tith
|
0952ffb11f
|
Hardcode LUKS payload offset return value in byte size instead of sector number.
|
2016-08-15 17:20:50 +01:00 |
Chantara Tith
|
f53cc1b55c
|
Cache lvm2_pv and luks result in finding external tool
|
2016-08-15 17:20:50 +01:00 |
Andrius Štikonas
|
b0dccc1c36
|
Also enable LUKS for F2FS and nilfs2 filesystems.
|
2016-08-08 02:03:45 +01:00 |
Andrius Štikonas
|
0f33fe07c9
|
Fix coverity issues and some other minor simplifications.
|
2016-08-05 13:55:56 +01:00 |
Andrius Štikonas
|
3a2b78e143
|
Improve semantic markup of translations.
|
2016-07-17 23:41:00 +01:00 |
Andrius Štikonas
|
9de7341985
|
Use lsblk --list instead of lsblk --raw. Makes unicode mapper names work.
|
2016-05-23 12:00:33 +01:00 |
Andrius Štikonas
|
b4a13599aa
|
Libpartedbackend can also use KDiskFreeSpaceInfo for mounted luks partitions.
|
2016-05-22 00:52:07 +01:00 |
Andrius Štikonas
|
35a4798672
|
Add some support to get used space info for mounted LUKS partitions using KDiskFreeSpaceInfo.
|
2016-05-22 00:48:55 +01:00 |
Andrius Štikonas
|
7e8ee77edf
|
Make luks helper functions non-static.
|
2016-05-20 19:38:12 +01:00 |
Andrius Štikonas
|
12bc2329a2
|
Used space is larger for luks volumes due to payload.
|
2016-05-20 19:17:52 +01:00 |
Andrius Štikonas
|
fdfc47cf8f
|
Leave LUKS cmdSupport variables static for now.
|
2016-05-18 17:39:28 +01:00 |
Andrius Štikonas
|
7914e0aa98
|
Improve luks::supportCopy and luks::supportSetLabel.
|
2016-05-18 02:04:33 +01:00 |
Andrius Štikonas
|
47cb6752ba
|
Use batch mode of cryptsetup to format luks volume.
|
2016-05-18 00:44:15 +01:00 |
Andrius Štikonas
|
a610e24686
|
Move luks init code to constructor.
|
2016-05-17 19:05:17 +01:00 |
Andrius Štikonas
|
094042cc75
|
Fix luks operations.
|
2016-05-17 17:38:17 +01:00 |
Andrius Štikonas
|
5d28790152
|
Simplify Luks support tool (and do not init Luks filesystem).
|
2016-05-17 17:35:49 +01:00 |
Andrius Štikonas
|
c6c31dc5c0
|
Use long options for mount.
|
2016-05-13 23:13:22 +01:00 |
Andrius Štikonas
|
1dfe304fd2
|
Restore back functionality of unmounting all mount points.
|
2016-05-13 23:08:58 +01:00 |
Chantara Tith
|
b653b5b6e3
|
move mount logic from Partition to FileSystem
|
2016-05-13 23:00:27 +01:00 |
Chantara Tith
|
2a12571d44
|
move unmount logic from Partition to FileSystem
|
2016-05-13 23:00:27 +01:00 |
Andrius Štikonas
|
3bfb0b4b5b
|
Restore optimized luks::mapperName function.
It seems that crashes are not our fault but rather of frameworkintegration.
|
2016-05-13 00:58:00 +01:00 |
Andrius Štikonas
|
9b5c33696c
|
Show error message if shrinking innerFS inside luks fails.
|
2016-05-12 16:48:32 +01:00 |
Andrius Štikonas
|
1ea4f4976d
|
Revert "Revert "Port away from QRegExp to QRegularExpression.""
This reverts commit c291af2c83 .
|
2016-05-12 16:45:13 +01:00 |
Andrius Štikonas
|
c291af2c83
|
Revert "Port away from QRegExp to QRegularExpression."
This reverts commit bb2de6cd56 .
This was causing a crash when restoring partitions.
|
2016-05-11 22:31:33 +01:00 |
Andrius Štikonas
|
513bbdac4c
|
Convert FS::luks static cmdSupport members to non-static.
|
2016-05-11 18:01:21 +01:00 |
Andrius Štikonas
|
7c137c36c6
|
Disable copying open luks volumes.
|
2016-05-11 15:19:51 +01:00 |
Andrius Štikonas
|
4aeea8b143
|
Remove accidentally committed debug code.
|
2016-05-11 14:58:06 +01:00 |