zoten
Redact_ex - utilities to redact sensitive data in Elixir projects
Hi everyone!
I just wanted to announce that, backed up by my company, I could release redact_ex ![]()
The aim of this library is, in the scope of privacy and diligence compliance, to give some common tools to projects to manage sensitive data that should not be logged to external services (e.g. observability tools), and to suggest some best practices to achieve it. In particular it gives:
- a generator macro to redact strings with helpers for fast redacting non-utf values with known lengths (or, well, utf too but only if you consider the full range of possible byte lengths
) - a common behaviour for extending redactor algorithms
- a protocol to implement for your structs to be compliant with redacting rules
- a derivation macro to shrink the boilerplate of implementing the redacting protocol
- a set of “common sense” rules that we are adopting (and evolving) to minimize all those chores that are not easily automatable (yeah, we can’t protect from
Logger.info("my plain CC number")
Full documentation is available on hexdocs ![]()
There are still some edge cases (mostly fallback functions and catchers for unexpected values that must now be managed somehow manually in some cases) and a lot room for improvement, both in code and ideas.
Every feedback and contribution from the community is well welcome!
Thanks ![]()
Popular in Libraries
TypeCheck: Fast and flexible runtime type-checking for your Elixir projects.
Core ideas
Type- and function specifications are const...
New
I released Doggo, a collection of unstyled Phoenix components.
Features
Unstyled Phoenix components.
Storybook that can be added to...
New
Hi folks,
Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
New
Hey everyone!
Well, we made this lib a while ago and now we decided to finally go out and public with it! It’s a tool for creating and m...
New
It is a well-know topic within the Elixir community: “To mock or not to mock? :)”
Every alchemist probably has his / her own opinion con...
New
I created Kitto a framework for dashboards inspired by Dashing.
[demo]
The distributed characteristics of Elixir and the low memory foo...
New
Hi there,
for my project DBLSQD, I needed a file storage solution that is a bit more flexible than Arc. Because I thought others might f...
New
I created a new library (rather I pulled out a couple files from my big project), it manages an operating system PID file for the BEAM.
...
New
Hi, I wanted share a small library we at Revelry Labs made for rendering react components from the server side. There are instructions fo...
New
Grizzly is a library for working with Z-Wave devices. Z-Wave is a low-frequency radio protocol for controlling smart home devices on a me...
New
Other popular topics
Phoenix 1.4.0 released
Phoenix 1.4 is out! This release ships with exciting new features, most notably
with HTTP2 support, improved deve...
New
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this
"1000"
What is the ...
New
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
Hi all,
I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage.
I'm trying to use Postg...
New
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
Hey :wave:t3: Elixir community,
I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New







