Skip to content

Conversation

@kriskowal
Copy link
Member

Description

In preparation to introduce a new @endo/harden package, toward #2983 decoupling harden from lockdown, it became evident that redacting errors without lockdown left a system in an undebuggable state, since lockdown is necessary to install an unredacter. This was an oversight easily fixed. The default assert introduced by initialization of ses should not redact, and lockdown should replace this assert with one that does redact along with its paired unredacting console and platform hooks for unredacting uncaught errors and unhandled rejections.

This is important because it will allow multiplexed tests to see the same exception messages before and after lockdown when using ses-ava.

Security Considerations

This relaxation pertains only to systems that run without lockdown and for which SES provides no security claims.

Scaling Considerations

None.

Documentation Considerations

None.

Testing Considerations

None.

Compatibility Considerations

None.

Upgrade Considerations

None.

Copy link
Contributor

@erights erights left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Can we test this? If so, please add a test. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants