c++ - SSL verses Encrypted Socket -


i building open source client/server app, not sure use, ssl (e.g. openssl) or encrypted packets on plain sockets.

i guess have few questions:

  • is there security implications using encrypted packets on plain sockets?

  • is there 'suggested' setups? know fact openssl has 1/2 million lines of code , had lot of security issues.

  • is there features (open)ssl give me a) beneficial or b) detrimental.

hopefully question has structured in such way pass moderators :)

is there security implications using encrypted packets on plain sockets?

not if done correctly. btw, ssl/tls encrypted packets on plain sockets.

is there 'suggested' setups? know fact openssl has 1/2 million lines of code , had lot of security issues.

the suggested setup use code , algorithms known good. in no case should invent own, if don't know topic.

is there features (open)ssl give me a) beneficial or b) detrimental.

the ssl/tls standard gives need. implementations had problems in past , have problems in future. might have @ libressl fork of openssl lots of cruft , unnecessary features , weak security removed. nss looks solid library had few serious problems in past compared openssl, gnutls, schannel , securetransport.

but note ssl/tls , other encryption not simple , should make comfortable concepts , pitfalls before use serious code.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -