Comments (2)
Differences:
- The Google implementation currently does not support empty epochs.
- The Google implementation returns a
codes.NotFound
error when a lookup hits an empty branch rather than returning a proof of absence - The Google implementation doesn't allow changing an existing value (returns
codes.AlreadyExists
). - The Yahoo implementation persists everything (in LevelDB) rather than keeping things in memory.
- The Yahoo implementation currently doesn't know about epochs. Instead, it has a concept of "snapshots", which are immutable past version of the tree. You can create a new snapshot from an existing snapshot by calling
Snapshot.BeginModification()
, which gives you aNewSnapshot
, on which you can callSet
a bunch of times, and then finally callFlush
to get a modifiedSnapshot
out along with the LevelDBWriteBatch
that makes the necessary changes. Each snapshot has a uniqueuint64
identifier, which won't correspond to epoch numbers. Thus, each epoch needs to store a snapshot number internally. (The reason I did this was to increase modularity and make simpler abstractions: the tree is just a standard fully persistent data structure (https://en.wikipedia.org/wiki/Persistent_data_structure#Fully_persistent), and each epoch contains a reference to the tree snapshot.) I already have a layer mapping epoch numbers to snapshots numbers implemented, so I could just use something like that on the Google side as well as long as the API works.
from keytransparency.
- Empty epochs support: refer to #50 [CLOSED].
- Proof of absence: refer to #58.
- Changing existing values: refer to #62 [CLOSED].
from keytransparency.
Related Issues (20)
- Define revisions asynchronously HOT 2
- Don't rely on protobuf field serialization order HOT 1
- Dedup EntryUpdate with the same data
- Support QoS for writes HOT 1
- Cut a new release HOT 1
- Update dependencies
- Create kubernetes integration test HOT 1
- missing google/tink/go/insecure HOT 2
- Add alerting when kubernetes is down
- Update get example to include a real key
- Embed OAuth ID client secret in code?
- Include fetching public keys in example
- Example hello world client using as library
- Use Let's Encrypt to get a real tls keypair
- README.md link to email group broken
- You have hard-coded private keys!
- Clarify CONTRIBUTING.md and README.md instructions
- Instructions to run KT server locally might be incorrect. HOT 2
- Dependabot can't resolve your Go dependency files
- The README file in this repo has a bad link - [404:NotFound] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keytransparency.