Memory Safe TLS Library Now Has AWS Crypto and FIPS
memorysafety.org
Memory Safe TLS Library Now Has AWS Crypto and FIPS
1–10 of 40 posts
Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#2Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#3But AWS Crypto is made in C/C++/ASM, so yes the wrapper is sort of safe but the implementation is not.
Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#4Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#5https://github.com/pizlonator/deluded-openssl-3.2.0
It's based on Fil-C https://github.com/pizlonator/llvm-project-deluge/blob/delug...
There's no unsafe code in it. The whole thing is recompiled with Fil-C. Works well enough that I can run a memory-safe curl and a memory-safe ssh.
Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#6But AWS Crypto is made in C/C++/ASM, so yes the wrapper is sort of safe but the implementation is not.
The underlying cryptography is still a mix of C and asm, that's the best option we have now particularly if we want support for things that make it deployable, like FIPS. We are looking for ways to improve the safety of the underlying crypto in the future.
Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#7Earlier quoted context omitted.
All safe code is inherently built on top of unsafe code.
The Go crypto implementation uses some unsafe/asm part but it does not rely on external C/C++ lib. Very different.
Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#8Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#9But AWS Crypto is made in C/C++/ASM, so yes the wrapper is sort of safe but the implementation is not.
The Rustls TLS implementation and certificate verification are all safe Rust. The underlying cryptography is still a mix of C and asm, that's the best option we have now particularly if we want support for things that make it deployable, like FIPS. We are looking for ways to improve the safety of the underlying crypto in the future.
Re: Memory Safe TLS Library Now Has AWS Crypto and FIPS
#10Or you could just use memory-safe OpenSSL. https://github.com/pizlonator/deluded-openssl-3.2.0 It's based on Fil-C https://github.com/pizlonator/llvm-project-deluge/blob/delug... There's no unsafe code in it. The whole thing is recompiled with Fil-C. Works well enough that I can run a memory-safe curl and a memory-safe ssh.