I'm writing a storage app for storing the Ed25519 pub keys and want to do some basic verification when a user submits their public key. Is it just A-Za-z0-9 ? or can it contain special chars as well? I'm assuming it will be in the range of printable characters? Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150117/4f45bfbd/attachment.html>
On Sat, 17 Jan 2015, Martin wrote:> I'm writing a storage app for storing the Ed25519 pub keys and want to do > some basic verification when a user submits their public key. > > Is it just A-Za-z0-9 ? or can it contain special chars as well? > > I'm assuming it will be in the range of printable characters?It is base64, so a handfull more characters are allowed, but all printable. (would have to lookup the exact chars used) c'ya sven-haegar -- Three may keep a secret, if two of them are dead. - Ben F.
On Sat, Jan 17, 2015 at 09:12:15PM +0100, Sven-Haegar Koch wrote:> > I'm writing a storage app for storing the Ed25519 pub keys and want to do > > some basic verification when a user submits their public key. > > > > Is it just A-Za-z0-9 ? or can it contain special chars as well? > > > > I'm assuming it will be in the range of printable characters? > > It is base64, so a handfull more characters are allowed, but all > printable. > > (would have to lookup the exact chars used)It's standard base64 encoding, without padding characters. The allowed characters are: A-Z a-z 0-9 + / -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150117/774a8f81/attachment.sig>
Maybe Matching Threads
- Public Key format
- tinc 1.1: d237efd32 "Only read one record at a time in sptps_receive_data()." breaks invite-join.test
- tinc 1.1 "Got ADD_EDGE ... which does not match existing entry"
- Is that possible develop a python version of tinc?
- tinc exit when there is no internet?