Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy edits #9

Merged
merged 5 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# CRISP - Collusion-Resistant Impartial Selection Protocol

CRISP (Collusion-Resistant Impartial Selection Protocol) is an integral part of the Enclave protocol, designed to redefine the landscape of privacy and security in digital decision-making. Incorporating cutting-edge technologies such as Fully Homomorphic Encryption (FHE), threshold cryptography, and zero-knowledge proofs (ZKPs), CRISP enables secure and anonymous voting mechanisms. Our protocol upholds the sanctity of each individual vote while safeguarding voter anonymity, establishing a new standard for governance and decision-making platforms.
CRISP (Collusion-Resistant Impartial Selection Protocol) is a secure protocol for digital decision-making, leveraging fully homomorphic encryption (FHE) and threshold cryptography to enable verifiable secret ballots; a critical component for democracies and many other decision-making applications.

## Why CRISP?

In our increasingly digitalized world, privacy, security, and information integrity are of paramount concern. CRISP is a pivotal innovation, crafted to counteract collusion, address governance vulnerabilities, and ensure data confidentiality. By establishing a secure, unbiased decision-making forum, CRISP empowers individuals and entities to engage in governance and other sensitive activities with confidence. This approach nurtures fairness, transparency, and trust within digital infrastructures.
Open ballots are known to produce suboptimal outcomes due to bribery and various forms of collusion. CRISP mitigates collusion and other vulnerabilities by ensuring ballots are secret and receipt-free, enabling a secure and impartial decision-making environment.

## Proof of Concept

This application is a Proof of Concept (PoC), demonstrating the viability of Enclave as a network and CRISP as an application for secret ballots. For the sake of getting a demonstration of CRISP into the wild, this PoC application is not yet leveraging Enclave and omits several key components of CRISP. Future iterations of this and other applications will be progressively more complete

## Project Structure

Expand Down
106 changes: 0 additions & 106 deletions packages/client/README.md

This file was deleted.

6 changes: 3 additions & 3 deletions packages/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="title" content="CRISP" />
<meta
name="description"
content="CRISP (Collusion-Resistant Impartial Selection Protocol) revolutionizes privacy and security in digital governance. Utilizing Fully Homomorphic Encryption, threshold cryptography, and zero-knowledge proofs, it ensures secure, anonymous voting while protecting voter identity. This innovation addresses digital vulnerabilities, enhances data confidentiality, and fosters trust, transparency, and fairness in decision-making processes."
content="CRISP (Collusion-Resistant Impartial Selection Protocol) is a secure protocol for digital decision-making, leveraging fully homomorphic encryption (FHE) and threshold cryptography to enable verifiable secret ballots; a critical component for democracies and many other decision-making applications."
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />

Expand All @@ -23,7 +23,7 @@
<meta property="og:title" content="CRISP" />
<meta
property="og:description"
content="CRISP (Collusion-Resistant Impartial Selection Protocol) revolutionizes privacy and security in digital governance. Utilizing Fully Homomorphic Encryption, threshold cryptography, and zero-knowledge proofs, it ensures secure, anonymous voting while protecting voter identity. This innovation addresses digital vulnerabilities, enhances data confidentiality, and fosters trust, transparency, and fairness in decision-making processes."
content="CRISP (Collusion-Resistant Impartial Selection Protocol) is a secure protocol for digital decision-making, leveraging fully homomorphic encryption (FHE) and threshold cryptography to enable verifiable secret ballots; a critical component for democracies and many other decision-making applications."
/>
<meta property="og:image" content="/favicon.png" />

Expand All @@ -33,7 +33,7 @@
<meta property="twitter:title" content="CRISP" />
<meta
property="twitter:description"
content="CRISP (Collusion-Resistant Impartial Selection Protocol) revolutionizes privacy and security in digital governance. Utilizing Fully Homomorphic Encryption, threshold cryptography, and zero-knowledge proofs, it ensures secure, anonymous voting while protecting voter identity. This innovation addresses digital vulnerabilities, enhances data confidentiality, and fosters trust, transparency, and fairness in decision-making processes."
content="CRISP (Collusion-Resistant Impartial Selection Protocol) is a secure protocol for digital decision-making, leveraging fully homomorphic encryption (FHE) and threshold cryptography to enable verifiable secret ballots; a critical component for democracies and many other decision-making applications."
/>
<meta property="twitter:image" content="/favicon.png" />
<meta
Expand Down
2 changes: 0 additions & 2 deletions packages/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Landing from '@/pages/Landing/Landing'
import DailyPoll from '@/pages/DailyPoll/DailyPoll'
import HistoricPoll from '@/pages/HistoricPoll/HistoricPoll'
import About from '@/pages/About/About'
import WhitePaper from './pages/Docs/WhitePaper'
import PollResult from '@/pages/PollResult/PollResult'
import useScrollToTop from '@/hooks/generic/useScrollToTop'
import { useVoteManagementContext } from '@/context/voteManagement'
Expand All @@ -33,7 +32,6 @@ const App: React.FC = () => {
<Routes>
<Route path='/' element={<Landing />} />
<Route path='/about' element={<About />} />
<Route path='/whitepaper' element={<WhitePaper />} />
<Route path='/daily' element={<DailyPoll />} />
<Route path='/historic' element={<HistoricPoll />} />
<Route path='/result/:roundId' element={<PollResult />} />
Expand Down
5 changes: 1 addition & 4 deletions packages/client/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ import { Link } from 'react-router-dom'
const Footer: React.FC = () => {
return (
<footer className='relative z-10 w-full border-t-2 border-slate-600/20 bg-slate-200 p-6'>
<div className='mx-auto flex w-full max-w-screen-xl flex-col items-center justify-between gap-4 md:flex-row'>
<Link to='/whitepaper#' className='duration-300 ease-in-out hover:opacity-70'>
<p className='text-sm font-bold'>CRISP Whitepaper</p>
</Link>
<div className='mx-auto flex w-full max-w-screen-xl flex-col items-center justify-end gap-4 md:flex-row'>
<Link to='https://www.gnosisguild.org/' target='_blank' className='flex flex-col items-center gap-2 md:flex-row'>
<div className='flex items-center gap-2'>
<p className='text-sm'>Secured with</p>
Expand Down
5 changes: 0 additions & 5 deletions packages/client/src/components/NavMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ const NAV_MENU_OPTIONS = [
icon: <Notebook />,
path: '/about',
},
{
name: 'Docs',
icon: <File />,
path: '/whitepaper',
},
]

const NavMenu: React.FC<NavMenuProps> = () => {
Expand Down
4 changes: 0 additions & 4 deletions packages/client/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ const PAGES = [
label: 'About',
path: '/about',
},
{
label: 'Docs',
path: '/whitepaper',
},
]

const Navbar: React.FC = () => {
Expand Down
32 changes: 19 additions & 13 deletions packages/client/src/pages/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ const About: React.FC = () => {
<p className='text-base font-extrabold uppercase text-slate-600/50'>what is crisp?</p>
<div className='space-y-2'>
<p className='leading-8 text-slate-600'>
CRISP (Collusion-Resistant Impartial Selection Protocol) is a groundbreaking component of the Enclave protocol, focused on
revolutionizing privacy and security in digital decision-making. It leverages advanced technologies like Fully Homomorphic
Encryption (FHE), threshold cryptography, and zero-knowledge proofs (ZKPs) to enable secure, anonymous voting. This protocol
ensures that the integrity of each vote is maintained without compromising the voter's privacy, making it a powerful tool
for governance and decision-making applications.
CRISP (Collusion-Resistant Impartial Selection Protocol) is a secure protocol for digital decision-making,
leveraging fully homomorphic encryption (FHE) and threshold cryptography to enable verifiable secret ballots;
a critical component for democracies and many other decision-making applications.
</p>
{/* <div className='flex cursor-pointer items-center space-x-2'>
<p className='text-lime-400 underline'>See what&apos;s happening under the hood</p>
Expand All @@ -32,21 +30,29 @@ const About: React.FC = () => {
<div className='space-y-4'>
<p className='text-base font-extrabold uppercase text-slate-600/50'>why is this important?</p>
<p className='leading-8 text-slate-600'>
In a digital age marked by increasing concerns over privacy, security, and the integrity of information, CRISP emerges as a
crucial innovation. By protecting against collusion, mitigating vulnerabilities in governance, and preserving the
confidentiality of data, CRISP fosters a secure and impartial environment for decision-making. It empowers users and
organizations to participate in governance and other sensitive processes with assurance, promoting fairness, transparency, and
trust in digital systems.
Open ballots are known to produce suboptimal outcomes due to bribery and various forms of collusion.
CRISP mitigates collusion and other vulnerabilities by ensuring ballots are secret and receipt-free,
enabling a secure and impartial decision-making environment.
</p>
{/* <div className='flex cursor-pointer items-center space-x-2'>
<p className='text-lime-400 underline'>See what&apos;s happening under the hood</p>
<img src={CircleIcon} className='h-[18] w-[18] ' />
</div> */}
</div>
<div className='space-y-4'>
<p className='text-base font-extrabold uppercase text-slate-600/50'>Proof of Concept</p>
<p className='leading-8 text-slate-600'>
This application is a Proof of Concept (PoC), demonstrating the viability of Enclave as a network and CRISP
as an application for secret ballots. For the sake of getting a demonstration of CRISP into the wild, this
PoC application is not yet leveraging Enclave and omits several key components of CRISP. Future iterations
of this and other applications will be progressively more complete.
</p>
{/* <div className='flex cursor-pointer items-center space-x-2'>
<p className='text-lime-400 underline'>See what&apos;s happening under the hood</p>
<img src={CircleIcon} className='h-[18] w-[18] ' />
</div> */}
</div>
</CardContent>
<Link to='/whitepaper' className='inline-flex'>
<button className='button-outlined button-max'>view whitepaper</button>
</Link>
</div>
</div>
)
Expand Down
16 changes: 3 additions & 13 deletions packages/client/src/pages/DailyPoll/components/ConfirmVote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ const ConfirmVote: React.FC<ConfirmVoteProps> = ({ endTime }) => {
<p className='text-base font-extrabold uppercase text-slate-600/50'>WHAT JUST HAPPENED?</p>
<div className='space-y-2'>
<p className='text-xl leading-8 text-slate-600'>
After casting your vote, CRISP securely processed your selection using a blend of Fully Homomorphic Encryption (FHE),
threshold cryptography, and zero-knowledge proofs (ZKPs), without revealing your identity or choice. Your vote was encrypted
and anonymously aggregated with others, ensuring the integrity of the voting process while strictly maintaining
confidentiality. The protocol's advanced cryptographic techniques guarantee that your vote contributes to the final outcome
without any risk of privacy breaches or undue influence.
Your vote was encrypted and posted onchain by a relayer. When the poll is over, the results will be tallied using
Fully Homomorphic Encryption (FHE) and the results decrypted using threshold cryptography, without revealing your
identity or choice.
</p>
</div>
</div>
Expand All @@ -40,14 +38,6 @@ const ConfirmVote: React.FC<ConfirmVoteProps> = ({ endTime }) => {
platforms.
</p>
</div>
<div className='flex items-center justify-between border-t-2 border-slate-600/20 pt-11'>
<Link to={'/whitepaper'}>
<p className='text-xl'>Learn more about CRISP</p>
</Link>
<Link to={'/about'}>
<button className='button-primary button-max'>learn more</button>
</Link>
</div>
</CardContent>
</div>
)
Expand Down
Loading