| 1 |
Source: golang-github-awnumar-memguard |
| 2 |
Section: golang |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 |
Uploaders: |
| 6 |
Simon Josefsson <[email protected]>, |
| 7 |
Rules-Requires-Root: no |
| 8 |
Build-Depends: |
| 9 |
debhelper-compat (= 13), |
| 10 |
dh-sequence-golang, |
| 11 |
golang-any, |
| 12 |
golang-github-awnumar-memcall-dev, |
| 13 |
golang-golang-x-crypto-dev, |
| 14 |
golang-golang-x-sys-dev, |
| 15 |
Testsuite: autopkgtest-pkg-go |
| 16 |
Standards-Version: 4.7.2 |
| 17 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-awnumar-memguard |
| 18 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-awnumar-memguard.git |
| 19 |
Homepage: https://github.com/awnumar/memguard |
| 20 |
XS-Go-Import-Path: github.com/awnumar/memguard |
| 21 |
|
| 22 |
Package: golang-github-awnumar-memguard-dev |
| 23 |
Architecture: all |
| 24 |
Multi-Arch: foreign |
| 25 |
Depends: |
| 26 |
golang-github-awnumar-memcall-dev, |
| 27 |
golang-golang-x-crypto-dev, |
| 28 |
golang-golang-x-sys-dev, |
| 29 |
${misc:Depends}, |
| 30 |
Description: secure enclave for storage of sensitive information (library) |
| 31 |
This package attempts to reduce the likelihood of sensitive data being |
| 32 |
exposed when in memory. It aims to support all major operating systems |
| 33 |
and is written in pure Go. |
| 34 |
. |
| 35 |
Features |
| 36 |
. |
| 37 |
* Sensitive data is encrypted and authenticated in memory with |
| 38 |
XSalsa20Poly1305. The scheme (https://spacetime.dev/encrypting-secrets-in- |
| 39 |
memory) used also defends against cold-boot attacks |
| 40 |
(https://spacetime.dev/memory-retention-attacks). |
| 41 |
* Memory allocation bypasses the language runtime by using system calls |
| 42 |
(https://github.com/awnumar/memcall) to query the kernel for resources |
| 43 |
directly. This avoids interference from the garbage-collector. |
| 44 |
* Buffers that store plaintext data are fortified with guard pages and |
| 45 |
canary values to detect spurious accesses and overflows. |
| 46 |
* Effort is taken to prevent sensitive data from touching the disk. |
| 47 |
This includes locking memory to prevent swapping and handling core |
| 48 |
dumps. |
| 49 |
* Kernel-level immutability is implemented so that attempted |
| 50 |
modification of protected regions results in an access violation. |
| 51 |
* Multiple endpoints provide session purging and safe termination |
| 52 |
capabilities as well as signal handling to prevent remnant data being |
| 53 |
left behind. |
| 54 |
* Side-channel attacks are mitigated against by making sure that the |
| 55 |
copying and comparison of data is done in constant-time. |
| 56 |
. |
| 57 |
This package contains the Go development library. |