Poll On New Value Field Size
Re: Poll On New Value Field Size
There is no upper bound on the size of PGP/GPG keys. Keys with many signatures can be upwards of 100KB.
Re: Poll On New Value Field Size
Thanks for the info ryanc.ryanc wrote:There is no upper bound on the size of PGP/GPG keys. Keys with many signatures can be upwards of 100KB.
Based on virtual_master calcs, we can say that a standard key will fit in 2k field (1k for the key max & 1k for other data for ex), and keys with several signatures won't. Using an external file for big keys makes sense, as it can go up to 100k.
Also, people can still include their key without the signatures I guess, to fit in the small field.
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
-
- Posts: 801
- Joined: Sun Aug 18, 2013 8:26 pm
- os: mac
Re: Poll On New Value Field Size
Additional confirmation signatures are unnecessary. VM is right, we can squeeze even the largest permissible keys into .5KB, which leaves plenty of room for a link to a larger key with signatures. I'm still wary of anything >1KB as the original analysis I did assumed that we could restrict the field sizes and compositions even further. So I don't know, I keep flip flopping between 1K and 2K.khal wrote:Thanks for the info ryanc.ryanc wrote:There is no upper bound on the size of PGP/GPG keys. Keys with many signatures can be upwards of 100KB.
Based on virtual_master calcs, we can say that a standard key will fit in 2k field (1k for the key max & 1k for other data for ex), and keys with several signatures won't. Using an external file for big keys makes sense, as it can go up to 100k.
Also, people can still include their key without the signatures I guess, to fit in the small field.
I will redo that analysis this week/after I read ryan's field-restrictions and actually share it with everyone. I don't want to be the bottleneck here...
DNS is much more than a key->value datastore.
Re: Poll On New Value Field Size
I changed the poll so that you can recast your vote (you can do that by editing the op). As it turns
Notes: The name length is always limited to 256bytes. The poll is about the value field size in kilo bytes.
For the encryption discussion please start another topic.
Any strong opinions between 1.5 / 2 / 2.5 / 3 / ... kbytes? Is there an advantage to stick to whole kilobytes? Please recast your vote.
Notes: The name length is always limited to 256bytes. The poll is about the value field size in kilo bytes.
For the encryption discussion please start another topic.
OK, we are making progress. The lower bound should be 1.5k for a plain gpg key.khal wrote:Thanks for the info ryanc.ryanc wrote:There is no upper bound on the size of PGP/GPG keys. Keys with many signatures can be upwards of 100KB.
Based on virtual_master calcs, we can say that a standard key will fit in 2k field (1k for the key max & 1k for other data for ex), and keys with several signatures won't. Using an external file for big keys makes sense, as it can go up to 100k.
Also, people can still include their key without the signatures I guess, to fit in the small field.
Any strong opinions between 1.5 / 2 / 2.5 / 3 / ... kbytes? Is there an advantage to stick to whole kilobytes? Please recast your vote.
-
- Posts: 801
- Joined: Sun Aug 18, 2013 8:26 pm
- os: mac
Re: Poll On New Value Field Size
Ugh, redid some of my image testing and "threat model" last night, definitely sticking to my 1KB maximum argument. You only need 2KB-4KB to seriously offend everyone. I will give a more formal analysis later.phelix wrote:I changed the poll so that you can recast your vote (you can do that by editing the op). As it turns
Notes: The name length is always limited to 256bytes. The poll is about the value field size in kilo bytes.
For the encryption discussion please start another topic.
OK, we are making progress. The lower bound should be 1.5k for a plain gpg key.khal wrote:Thanks for the info ryanc.ryanc wrote:There is no upper bound on the size of PGP/GPG keys. Keys with many signatures can be upwards of 100KB.
Based on virtual_master calcs, we can say that a standard key will fit in 2k field (1k for the key max & 1k for other data for ex), and keys with several signatures won't. Using an external file for big keys makes sense, as it can go up to 100k.
Also, people can still include their key without the signatures I guess, to fit in the small field.
Any strong opinions between 1.5 / 2 / 2.5 / 3 / ... kbytes? Is there an advantage to stick to whole kilobytes? Please recast your vote.
We can stick the maximum sized 4kb PGP key into a 1KB record plus meta-data even if we encode the key in base-64.
I'm taking a hardline 1K max vote until we are established enough to have credibility with the outside world. Even then, we need per-field restrictions to stymie usenet-style record spanning.
Last edited by indolering on Wed Jan 22, 2014 10:51 pm, edited 1 time in total.
DNS is much more than a key->value datastore.
Re: Poll On New Value Field Size
I didn't want to use my admin rights when not required :p [phelix sayz: haha :p]phelix wrote:I changed the poll so that you can recast your vote (you can do that by editing the op).
/me revoted [2k]
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
-
- Posts: 801
- Joined: Sun Aug 18, 2013 8:26 pm
- os: mac
Re: Poll On New Value Field Size
Yanked for security reasons.
Last edited by indolering on Thu Jan 23, 2014 7:46 pm, edited 2 times in total.
DNS is much more than a key->value datastore.
-
- Posts: 21
- Joined: Mon Apr 01, 2013 12:04 pm
- os: linux
Re: Poll On New Value Field Size
We still need a comment from sugarpuf here then it will be the best thread.
Re: Poll On New Value Field Size
There are some other possibilities we can investigate to limit bad content in namecoin (except for the size of the field) :
* find the magic formula for the price of a name (not too cheap, not too expensive)
* do a generic analysis of the content of the field :
- I do not want to force some spec/formats in the blockchain, ex: restriting id/ to json, etc => bad idea. It is not the role of the blockchain.
- But we can define some general rules to avoid binary data only
ie: if size < 1k & more than 50% binary data => rejected by the blockchain
ie: if size > 1k & everything is binary => rejected by the blockchain
* Binary data can cost more
So, make your choice and poll :p
ps : should we close the poll at the end of the month to avoid an infinite discussion ? :p
* find the magic formula for the price of a name (not too cheap, not too expensive)
* do a generic analysis of the content of the field :
- I do not want to force some spec/formats in the blockchain, ex: restriting id/ to json, etc => bad idea. It is not the role of the blockchain.
- But we can define some general rules to avoid binary data only
ie: if size < 1k & more than 50% binary data => rejected by the blockchain
ie: if size > 1k & everything is binary => rejected by the blockchain
* Binary data can cost more
So, make your choice and poll :p
ps : should we close the poll at the end of the month to avoid an infinite discussion ? :p
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
Re: Poll On New Value Field Size
+1indolering wrote: I question whether I should get a prescription for some anti-anxiety meds
This place is also recommended if you want to survive the zombie apocalypse: