Skip to content

Instantly share code, notes, and snippets.

@pfitzseb
Created June 18, 2019 16:33
Show Gist options
  • Save pfitzseb/e5baab5b400df6c30d1a8366c4972ccc to your computer and use it in GitHub Desktop.
Save pfitzseb/e5baab5b400df6c30d1a8366c4972ccc to your computer and use it in GitHub Desktop.
mbedtls
MbedTLS on  jq/1.2
λ rm -rf ./deps/usr
MbedTLS on  jq/1.2
λ julia -e 'using Pkg; Pkg.build("MbedTLS")'
Building MbedTLS → `~/.julia/dev/MbedTLS/deps/build.log`
Resolving package versions...
MbedTLS on  jq/1.2
λ ls -l ./deps/usr/lib
total 2064
-rwxr-xr-x 1 pfitzseb pfitzseb 702772 Jan 27 06:34 libmbedcrypto.a
lrwxrwxrwx 1 pfitzseb pfitzseb 18 Jan 27 06:35 libmbedcrypto.so -> libmbedcrypto.so.3
-rwxr-xr-x 1 pfitzseb pfitzseb 522576 Jan 27 06:34 libmbedcrypto.so.2.16.0
lrwxrwxrwx 1 pfitzseb pfitzseb 23 Jan 27 06:35 libmbedcrypto.so.3 -> libmbedcrypto.so.2.16.0
-rwxr-xr-x 1 pfitzseb pfitzseb 340312 Jan 27 06:34 libmbedtls.a
lrwxrwxrwx 1 pfitzseb pfitzseb 16 Jan 27 06:35 libmbedtls.so -> libmbedtls.so.12
lrwxrwxrwx 1 pfitzseb pfitzseb 20 Jan 27 06:35 libmbedtls.so.12 -> libmbedtls.so.2.16.0
-rwxr-xr-x 1 pfitzseb pfitzseb 290056 Jan 27 06:37 libmbedtls.so.2.16.0
-rwxr-xr-x 1 pfitzseb pfitzseb 122056 Jan 27 06:34 libmbedx509.a
lrwxrwxrwx 1 pfitzseb pfitzseb 16 Jan 27 06:35 libmbedx509.so -> libmbedx509.so.0
lrwxrwxrwx 1 pfitzseb pfitzseb 21 Jan 27 06:35 libmbedx509.so.0 -> libmbedx509.so.2.16.0
-rwxr-xr-x 1 pfitzseb pfitzseb 123832 Jan 27 06:37 libmbedx509.so.2.16.0
MbedTLS on  jq/1.2
λ strace julia -e 'using Blink, WebIO, Pkg; w = Window(); sleep(10); Pkg.test("TableView")' 2>&1 | grep -i mbedtls
stat("/home/pfitzseb/.julia/dev/MbedTLS", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/MbedTLS.jl", {st_mode=S_IFREG|0644, st_size=3564, ...}) = 0
stat("/home/pfitzseb/.julia/compiled/v1.2/MbedTLS/bf9T0.ji", {st_mode=S_IFREG|0600, st_size=333045, ...}) = 0
stat("/home/pfitzseb/Documents/Git/julia/usr/local/share/julia/compiled/v1.2/MbedTLS/bf9T0.ji", 0x7ffc4cf65e30) = -1 ENOENT (No such file or directory)
stat("/home/pfitzseb/Documents/Git/julia/usr/share/julia/compiled/v1.2/MbedTLS/bf9T0.ji", 0x7ffc4cf65e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pfitzseb/.julia/compiled/v1.2/MbedTLS/bf9T0.ji", O_RDONLY|O_CLOEXEC) = 15
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/MbedTLS.jl", {st_mode=S_IFREG|0644, st_size=3564, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/MbedTLS.jl", {st_mode=S_IFREG|0644, st_size=3564, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/MbedTLS.jl", {st_mode=S_IFREG|0644, st_size=3564, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/deps/deps.jl", {st_mode=S_IFREG|0644, st_size=1656, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/constants.jl", {st_mode=S_IFREG|0644, st_size=28091, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/error.jl", {st_mode=S_IFREG|0644, st_size=789, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/md.jl", {st_mode=S_IFREG|0644, st_size=5851, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/cipher.jl", {st_mode=S_IFREG|0644, st_size=10086, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/rsa.jl", {st_mode=S_IFREG|0644, st_size=3621, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/entropy.jl", {st_mode=S_IFREG|0644, st_size=1674, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/ctr_drbg.jl", {st_mode=S_IFREG|0644, st_size=1494, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/pk.jl", {st_mode=S_IFREG|0644, st_size=3714, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/x509_crt.jl", {st_mode=S_IFREG|0644, st_size=1113, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/ssl.jl", {st_mode=S_IFREG|0644, st_size=24336, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/debug.jl", {st_mode=S_IFREG|0644, st_size=421, ...}) = 0
read(15, "ELLO_DONE=-31616\nconst MBEDTLS_T"..., 131072) = 70901
openat(AT_FDCWD, "/home/pfitzseb/.julia/compiled/v1.2/MbedTLS/bf9T0.ji", O_RDONLY|O_CLOEXEC) = 15
openat(AT_FDCWD, "/home/pfitzseb/.julia/dev/MbedTLS/deps/usr/lib/libmbedcrypto.so", O_RDONLY|O_CLOEXEC) = 25
openat(AT_FDCWD, "/home/pfitzseb/Documents/Git/julia/usr/bin/../lib/libmbedtls.so.12", O_RDONLY|O_CLOEXEC) = 25
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/pfitzseb/.julia/registries/General/M/MbedTLS", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/pfitzseb/.julia/registries/General/M/MbedTLS", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 81
stat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/.gitignore", 0x7ffc4cf66720) = -1 ENOENT (No such file or directory)
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Package.toml", {st_mode=S_IFREG|0644, st_size=115, ...}) = 0
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Deps.toml", {st_mode=S_IFREG|0644, st_size=787, ...}) = 0
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Versions.toml", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Compat.toml", {st_mode=S_IFREG|0644, st_size=444, ...}) = 0
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/pfitzseb/.julia/registries/General/M/MbedTLS", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 313
stat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/.gitignore", 0x7ffc4cf65380) = -1 ENOENT (No such file or directory)
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Package.toml", {st_mode=S_IFREG|0644, st_size=115, ...}) = 0
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Deps.toml", {st_mode=S_IFREG|0644, st_size=787, ...}) = 0
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Versions.toml", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0
lstat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Compat.toml", {st_mode=S_IFREG|0644, st_size=444, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/JuliaProject.toml", 0x7ffc4cf66030) = -1 ENOENT (No such file or directory)
stat("/home/pfitzseb/.julia/dev/MbedTLS/Project.toml", {st_mode=S_IFREG|0644, st_size=566, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/Project.toml", {st_mode=S_IFREG|0644, st_size=566, ...}) = 0
openat(AT_FDCWD, "/home/pfitzseb/.julia/dev/MbedTLS/Project.toml", O_RDONLY|O_CLOEXEC) = 25
read(25, "name = \"MbedTLS\"\nuuid = \"739be42"..., 131072) = 566
stat("/home/pfitzseb/.julia/dev/MbedTLS/src/MbedTLS.jl", {st_mode=S_IFREG|0644, st_size=3564, ...}) = 0
stat("/home/pfitzseb/.julia/registries/General/M/MbedTLS/Versions.toml", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0
openat(AT_FDCWD, "/home/pfitzseb/.julia/registries/General/M/MbedTLS/Versions.toml", O_RDONLY|O_CLOEXEC) = 25
stat("/home/pfitzseb/.julia/dev/MbedTLS/JuliaProject.toml", 0x7ffc4cf661d0) = -1 ENOENT (No such file or directory)
stat("/home/pfitzseb/.julia/dev/MbedTLS/Project.toml", {st_mode=S_IFREG|0644, st_size=566, ...}) = 0
stat("/home/pfitzseb/.julia/dev/MbedTLS/Project.toml", {st_mode=S_IFREG|0644, st_size=566, ...}) = 0
openat(AT_FDCWD, "/home/pfitzseb/.julia/dev/MbedTLS/Project.toml", O_RDONLY|O_CLOEXEC) = 25
read(25, "name = \"MbedTLS\"\nuuid = \"739be42"..., 131072) = 566
write(12, " MbedTLS v0.6.8+ [`~/.julia/dev/"..., 42 MbedTLS v0.6.8+ [`~/.julia/dev/MbedTLS`]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment