News for hackers. Stuff that matters.

friendlypedant

Re:TinySSH is a small SSH server using NaCl, TweetNaCl on Sunday May 11, 2014 @05:41PM (#7730116)
Mostly his disregard for packaging conventions and unwillingness to acomodate them. The code is usually A grade, but the odd use of the filesystem, runtime configs, daemons etc. means it will never get into any mainstream distro without heavy patching.

There's a reason why libsodium's tag line is "P(ortable|ackageable) NaCl-based crypto library".

The word of distros/packagers isn't gospel, but it counts for a lot, considering that (for better or worse) most people won't even think about using something not available as a package.

Re:TinySSH is a small SSH server using NaCl, TweetNaCl on Sunday May 11, 2014 @03:52PM (#7729713)
This is essentially just a bikeshed.

"Wait, this code is hard to understand and requires deep domain knowledge. Better nitpick the code style instead. Also, bikesheds should clearly be orange. Green is way too fishy."

Re:TinySSH is a small SSH server using NaCl, TweetNaCl on Sunday May 11, 2014 @03:46PM (#7729697)
I hate Microsoft as much as the next guy, but FYI, MSVC 2013 supports most of C99.
Re:TinySSH is a small SSH server using NaCl, TweetNaCl on Sunday May 11, 2014 @03:43PM (#7729688)
Every function name in tinyssh/buf.c starts with an underscore...

To quote the standard:

"All identifiers that begin with an underscore are always reserved for use as identifiers with file scope in both the ordinary and tag name spaces. ... If the program declares or defines an identifier in a context in which it is reserved (other than as allowed by 7.1.4), or defines a reserved identifier as a macro name, the behavior is undefined."

-- ISO/IEC 9899:1999, Section 7.1.3 Reserved Identifiers