QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
ImitatePass::ReencryptResult Struct Reference

Outcome of one reencryptPath() run; filled on the worker thread and consumed by finishReencrypt() on the owning thread. More...

Public Attributes

int total = 0
 .gpg files found under the directory.
int checked = 0
 Files whose recipients were inspected.
int reencrypted = 0
 Files rewritten for the current recipients.
QStringList rewritten
 Those files, for EntryRecord.
QStringList failed
bool cancelled = false
bool aborted = false
 Stopped early on an error already reported.
QStringList unexpected
QStringList unexpectedDetails
QList< QByteArray > unexpectedHashes
QList< QSet< QString > > unexpectedReaders
QHash< QString, QSet< QString > > stillReadByRemoved
QStringList walked
 Entries whose recipients the run judged.

Detailed Description

Outcome of one reencryptPath() run; filled on the worker thread and consumed by finishReencrypt() on the owning thread.

Definition at line 1524 of file imitatepass.cpp.

Member Data Documentation

◆ aborted

bool ImitatePass::ReencryptResult::aborted = false

Stopped early on an error already reported.

Definition at line 1534 of file imitatepass.cpp.

◆ cancelled

bool ImitatePass::ReencryptResult::cancelled = false

Stopped early by cancelReencryptPath(); the interrupted file, if any, is not in failed.

Definition at line 1532 of file imitatepass.cpp.

◆ checked

int ImitatePass::ReencryptResult::checked = 0

Files whose recipients were inspected.

Definition at line 1526 of file imitatepass.cpp.

◆ failed

QStringList ImitatePass::ReencryptResult::failed

One line per file that could not be re-encrypted: its path, or the reason (which names the path) when there is one to give.

Definition at line 1529 of file imitatepass.cpp.

◆ reencrypted

int ImitatePass::ReencryptResult::reencrypted = 0

Files rewritten for the current recipients.

Definition at line 1527 of file imitatepass.cpp.

◆ rewritten

QStringList ImitatePass::ReencryptResult::rewritten

Those files, for EntryRecord.

Definition at line 1528 of file imitatepass.cpp.

◆ stillReadByRemoved

QHash<QString, QSet<QString> > ImitatePass::ReencryptResult::stillReadByRemoved

Of those, each one a removed recipient still reads, by whom.

Definition at line 1544 of file imitatepass.cpp.

◆ total

int ImitatePass::ReencryptResult::total = 0

.gpg files found under the directory.

Definition at line 1525 of file imitatepass.cpp.

◆ unexpected

QStringList ImitatePass::ReencryptResult::unexpected

Entries left alone: re-encrypting them would give them to someone on the list who cannot read them now (unexpectedRecipients()).

Definition at line 1535 of file imitatepass.cpp.

◆ unexpectedDetails

QStringList ImitatePass::ReencryptResult::unexpectedDetails

For each of those, who would gain it (and who removed still reads it).

Definition at line 1538 of file imitatepass.cpp.

◆ unexpectedHashes

QList<QByteArray> ImitatePass::ReencryptResult::unexpectedHashes

Their contents' SHA-256, which reencryptAlso() holds them to.

Definition at line 1540 of file imitatepass.cpp.

◆ unexpectedReaders

QList<QSet<QString> > ImitatePass::ReencryptResult::unexpectedReaders

The list's keys each was named against.

Definition at line 1542 of file imitatepass.cpp.

◆ walked

QStringList ImitatePass::ReencryptResult::walked

Entries whose recipients the run judged.

Definition at line 1547 of file imitatepass.cpp.


The documentation for this struct was generated from the following file: