#加密 #安全 #API #加密

已删除 over-there-crypto

与其他over-there库一起使用的密码学库

0.1.0-alpha.1 2020年3月24日

#712 in #加密


用于 2 crate

MIT/Apache

57KB
1.5K SLoC

因支持https://github.com/chipsenkbeil/distant而被弃用

Over There — 构建状态 最新版本 最新文档 over-there: rustc 1.39+

Over There是一个库和工具,可以在“那里”远程管理软件和执行操作。

构建开发者版本

默认情况下,不包括CLI功能。这意味着执行正常构建时不会包含二进制文件

cargo build

因此,必须指定 cli 功能

cargo build --features 'cli'

发布版本

有关文件大小的信息,请参阅以下链接: https://stackoverflow.com/a/54842093

cargo build --release --features 'cli'
strip target/release/over-there

不动态链接libc的发布版本

rustup target add x86_64-unknown-linux-musl
cargo build --release --target=x86_64-unknown-linux-musl --features 'cli'

请注意,在Mac OS X上,您需要安装 musl-gcc

brew install FiloSottile/musl-cross/musl-cross

并且为了进行strip(在Mac上),请使用musl strip

x86_64-linux-musl-gcc target/x86_64-unknown-linux-musl/release/over-there

运行说明

一个明显的问题是,您需要将服务器的IPv4与客户端的IPv4相匹配,将服务器的IPv6与客户端的IPv6相匹配。

例如,以下IPv6之间的操作工作正常

# On your machine
over-there client '[1111:2222:3333:4444:5555:6:78:9]:60000' <some command>

# On 1111:2222:3333:4444:5555:6:78:9
over-there server '[::]:60000'

例如,以下IPv4之间的操作工作正常

# On your machine
over-there client '123.456.7.890:60000' <some command>

# On 123.456.7.890
over-there server '0.0.0.0:60000'

overthered

otd 作为别名?

围绕 overthere 的守护进程包装器,该守护进程运行服务以监听请求并执行它们。

overtherec

otc 作为别名?

围绕 overthere 的客户端包装器,该客户端可以发送命令到远程守护进程以执行,并且可以通过各种方式(如stdout或文件)中继结果。

许可证

根据您选择以下任一项许可证进行许可

任选。

贡献

除非您明确声明,否则您根据Apache-2.0许可证定义的,旨在包含在工作中的任何贡献,都应如上双许可,没有任何附加条款或条件。

依赖项

~3.5MB
~67K SLoC