How the lock works
No one can read a bid before the deadline. The buyer cannot, and we cannot. We cannot read them afterwards either.
Step by step
- The buyer publishes and receives an opening code. Only the buyer has it. We never see it.
- The supplier submits. The bid is locked on the supplier's own machine before it is sent. What reaches us is unreadable, including the name of whoever submits it.
- The supplier gets a receipt with the time and a fingerprint of what was submitted.
- The deadline is decided by our clock, to the second. After the deadline nothing is accepted. Before the deadline nothing is released, not even to the buyer.
- The buyer opens with the opening code after the deadline. The bids are unlocked on the buyer's machine, not on our side.
Who knows what, and when
| Before the deadline | After opening | |
|---|---|---|
| The buyer | Sees questions without a sender. Does not see bids, who has submitted, or how many. | Reads the bids in their own browser. |
| Anbudene.no | Holds ciphertext and timestamps. Cannot read content or sender. | The same. We never get the key. |
| Other suppliers | See the tender notice, requirements, questions and answers. Nothing about bids or about who has an account. | What the buyer announces. |
The business and private markets
Bids are sealed in the same way in all markets, so we can never read them. Two things are different when a business or a private individual asks for bids:
- The buyer can be hidden. A private individual always is: the businesses get no name, email or phone number, and can only reply here. The customer contacts the one they choose themselves.
- The buyer can choose to read bids as they come in. That is the buyer's choice, and it is stated on the request. Public tenders and mini-competitions under a framework agreement are never opened before the deadline.
A private individual must confirm both email and mobile number before the request goes out. We do not store the mobile number, only a fingerprint of it.
Timestamp and event log
Every event in a tender is written to an event log: publication, corrections, questions, answers, received bids, rejected attempts and opening. Each row carries the hash of the row before it, so a row cannot be changed or removed without breaking the chain. The log is open to everyone, and can be checked by machine through the API. Rows about bids are shown only once the deadline has passed, because the number of bids is also competitively sensitive.
Who is on the platform is not revealed
- Sign-in responds the same whether or not the address has an account.
- Questions are stored without a sender.
- A bid does not point to a user in the database. The supplier finds their own again with a tag that can only be computed for the one who is signed in.
- No page and no API response counts bids, readers or users.
What the lock does not protect against
- A lost opening code. Then no one can open the bids, and the tender must be published again. The code should be kept by two people.
- That we serve different code from the code we describe. The encryption happens in the browser, with code we deliver. That is why the sealing is one small file with no dependencies that anyone can read, and an independent review is on the list before the platform is used for larger tenders.
- Correlation of timestamps. The database does not show who has submitted. But someone who has both the database and the server logs can compare times. The protection covers everything that is displayed and everything in the tables, not an operator with full server access.
- Qualified timestamp. The timestamp is the server's own. An external, qualified timestamp is not in place yet.
Technical details: algorithms and keys
Everything below happens in the browser (Web Crypto). The code is one file with no dependencies.
- Publication. The buyer's browser creates a key pair (RSA-OAEP, 3072 bits). The private key is wrapped with AES-256-GCM, under a key derived from a 25-character opening code (PBKDF2-SHA-256, 600,000 iterations). We receive the public key and the wrapped private key. The opening code is never sent to us.
- Submission. The supplier's browser creates a separate AES-256-GCM key for the bid, encrypts the bid and the attachments, and wraps the key with the buyer's public key. What reaches us is ciphertext. Who is submitting is also inside the ciphertext.
- Receipt. The server stamps the receipt with its clock, computes the sha256 of the ciphertext, and gives the supplier a signed receipt. The browser checks that the checksum is the same as the one it sent.
- The deadline. The server's clock decides, to the second. After the deadline no bids are accepted. Before the deadline no bids are handed out, not even to the buyer. Attempts at either are recorded in the event log.
- Opening. After the deadline the buyer fetches the ciphertext and enters the opening code. The bids are decrypted in the buyer's browser. The opening is logged with the time and the checksums that were handed out.
The regulations behind it, point by point: Regulations.