Skip to content

Commit

Permalink
improved whitepaper
Browse files Browse the repository at this point in the history
  • Loading branch information
silkroadnomad committed Jul 5, 2018
1 parent b8eb3e8 commit 1e78023
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
Binary file modified doc/Doichain-WhitePaper.odt
Binary file not shown.
Binary file added doc/Doichain-WhitePaper.pdf
Binary file not shown.
Binary file added doc/Doichain-WhitePaper_Entwurf.odt
Binary file not shown.
2 changes: 2 additions & 0 deletions imports/modules/server/opt-ins/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const verifyOptIn = (data) => {
signature: entryData.signature,
publicKey: ourData.recipient_public_key
})

if(!firstCheck) return false;
const parts = ourData.recipient_mail.split("@");
const domain = parts[parts.length-1];
Expand All @@ -48,6 +49,7 @@ const verifyOptIn = (data) => {
signature: entryData.doiSignature,
publicKey: publicKey
})

if(!secondCheck) return false;
return true;
} catch (exception) {
Expand Down

0 comments on commit 1e78023

Please sign in to comment.