Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Comments

Modernization#1

Merged
halostatue merged 8 commits intomainfrom
modernization
Jul 16, 2024
Merged

Modernization#1
halostatue merged 8 commits intomainfrom
modernization

Conversation

@halostatue
Copy link
Member

@halostatue halostatue commented Jul 15, 2024

  • chore: Remove committed documentation

  • chore: Remove unnecessary configuration

  • chore: Fix build and dialyzer warnings

  • chore: mix formatter

  • chore: Fix urlsafe_base64/1 generation

    The test assumes 22 byte default, but had 32 because it was double-base64 encoding (once regular, and once URL-safe). Without the double encoding, the tests fail because they were expecting 32 (then 24), but the intent was URL-safe base encoding without padding.

    Originally based on Don't double-encode in urlsafe_base64 patricksrobertson/secure_random.ex#13, but fixes the tests and padding.

  • chore: Switch from Travis to GHA

  • feat: Add SecureRAndom.base58/1

    Based originally on add ruby base58 method patricksrobertson/secure_random.ex#12, but modified to prevent namespace pollution of the Base58 translation module.

  • chore: Update dependencies

The test assumes 22 byte default, but had 32 because it was double-base64 encoding (once
regular, and once URL-safe). Without the double encoding, the tests fail because they were
expecting 32 (then 24), but the intent was URL-safe base encoding without padding.

Originally based on patricksrobertson#13, but fixes the tests and
padding.
@halostatue halostatue requested review from mikestok and ohnit July 15, 2024 16:44
Based originally on patricksrobertson#12, but modified to
prevent namespace pollution of the Base58 translation module.
@halostatue halostatue merged commit 92817fb into main Jul 16, 2024
@halostatue halostatue deleted the modernization branch July 16, 2024 15:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants