Skip to content
Snippets Groups Projects
Commit f29c2cbf authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

remove plain and html fingerprit from qrcode proto

parent 0f47ddb7
No related branches found
No related tags found
1 merge request!39Resolve "QR Code Data Signing & Verification flow"
......@@ -40,12 +40,6 @@ const emailData: MessageData = {
},
],
senderPublicKeyUuid: "<uuid>",
htmlPartRabinFingerprint: "0x0",
htmlPartRollingHash: "0x0",
htmlPartSize: 10,
plainPartRabinFingerprint: "0x0",
plainPartRollingHash: "0x0",
plainPartSize: 10,
};
/**
......
......@@ -62,17 +62,6 @@ const decodeEmailData = (
bytes: String,
}) as MessageData;
Object.assign(messageData, {
/**
* @deprecated Will be deleted in version 1.0.1. Use plainPartRabinFingerprint instead.
*/
plainPartRollingHash: messageData.plainPartRabinFingerprint,
/**
* @deprecated Will be deleted in version 1.0.1. Use htmlPartRabinFingerprint instead.
*/
htmlPartRollingHash: messageData.htmlPartRabinFingerprint,
});
return messageData;
} else {
return null;
......
......@@ -23,18 +23,6 @@ export interface MessageData {
};
attachments: Array<Attachment>;
senderPublicKeyUuid: string;
/**
* @deprecated Will be deleted in version 1.0.1. Use htmlPartRabinFingerprint instead.
*/
htmlPartRollingHash: string;
htmlPartRabinFingerprint: string;
htmlPartSize: number;
/**
* @deprecated Will be deleted in version 1.0.1. Use plainPartRabinFingerprint instead.
*/
plainPartRollingHash: string;
plainPartRabinFingerprint: string;
plainPartSize: number;
}
export interface StatusData {
......
......@@ -29,11 +29,7 @@ message EmailData_V1 {
string date = 4;
Recipients_V1 recipients = 5;
repeated Attachment_V1 attachments = 6;
string senderPublicKeyUuid = 7;
string htmlPartRabinFingerprint = 8;
int32 htmlPartSize = 9;
string plainPartRabinFingerprint = 10;
int32 plainPartSize = 11;
string senderPublicKeyUuid = 7;
}
message KeyData_V1 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment