Skip to content

agecrypt

0.1.1Package record

File Encryption with the 'age' Format

0packages depend
784downloads / year
82.7%test coverage
13/13flavors OK

Overview

About

An idiomatic R interface to the 'age' file encryption format (https://age-encryption.org/v1), backed by a vendored copy of the 'agec' C implementation (https://git.sr.ht/~min/agec). Encrypt and decrypt raw vectors, files, and strings for one or more X25519 recipients or with a passphrase, with optional ASCII armor. Cryptography is vendored and randomness is drawn from the operating system, so the package has no external library dependencies.

Changes in 0.1.1

Bug fixes

  • Fixed silent data loss at the 8 KiB output-buffer boundary. Encrypting a payload of about 8 KB (7992 to 8192 bytes) produced a truncated ciphertext that could not be decrypted, and decrypting a file whose final chunk was exactly 8 KiB (for example, a 73728-byte plaintext) returned truncated plaintext. Both reported success. Ciphertexts of about 8 KB that were created with 0.1.0 may be unrecoverable; decrypt-and-compare any you rely on.
  • Error messages now describe the failure that happened. Previously a failure could report the message of an earlier, unrelated operation.

Security

  • Identity files are read, parsed, and scrubbed in native code. Previously the secret key lines passed through readLines(), which kept them in R's global string cache for the rest of the session.
Show all changes in 0.1.1Hide the rest of the changes in 0.1.1
  • The vendored 'agec' library is updated to version 1.0.0. Headers are now parsed more strictly, as the age specification requires: stanzas with malformed bodies are rejected, including those of unrecognized types.
  • The payload nonce counter now spans all 11 bytes that the age specification defines, and a counter overflow is reported instead of reusing a nonce. No reachable payload size is affected.
  • The native code no longer leaks internal buffers, or leaves a decoded secret on the stack, when an operation fails part way.

Other changes

  • agecrypt now requires R 3.5.0 or later.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK8 OK2026-08-06
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 877 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.1Citation fileNoWebsiteYes · pkgdown
Help pages
9 (1 internal)includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
100%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
0%

Downloads

784
CRAN downloads in the past year
Rank #15,919 · ~2/day · ~65/mo
Daily download trend is not available in this view yet.
31130 days
78490 days
7841 year
Compare downloads with other packages →
Also on42 r2u38 autocran

Repository

0Stars
0Forks
3Open issues
0Open PRs
1Releases
38Commits
3Commit identities
38 commits · Last activity 2026-09-30
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Releases over time

2026-08-05 · 02026-09-19 · 1
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/pedrobtz/agecrypt on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-30 · The repository has a site deploy workflow

pkgdown site last built 2026-09-30, before release 0.1.1 (2026-10-21)

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
Air
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-07-26
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: 1 by its own account · at least 15 crediting it in the message
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: .agents, AGENTS.md
Models named in its commits
  • Claude Opus 5.511 commits · Sep 2026
  • Claude Fable 5.13 commits · Sep 2026
  • Claude Opus 51 commit · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing agecrypt adds no packages beyond those that come with R.

Depends (1)
R >= 3.5.0
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2026), Copyright holder
Contributor, Copyright holder
Authors of the vendored 'agec' C implementation, https://git.sr.ht/~min/agec
Releases (2)

Pick two releases to compare their code metrics.

  • 0.1.1Latest
    record
    2026-10-21 · current release · diff ↗ ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-21 22:56 UTC, so it stayed less than the time between readings.
  • 0.1.0
    record
    first seen 2026-08-05
  • R
    R 4.6.0 released · 2026-04-24
Across CRAN, the median accepted release of the past year spent 26 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First seen
2026-08-05
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
472 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("agecrypt")
Baltazar, P., & agec authors. (2026). agecrypt: File Encryption with the 'age' Format (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.agecrypt

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for agecrypt version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy