Skip to content

Conversation

@Marvy247
Copy link

@Marvy247 Marvy247 commented Jan 8, 2026

 - Added validation for StacksSignerMessagePredicate with pubkey and timestamp checks
 - Validate secp256k1 public keys (compressed 33 bytes, uncompressed 65 bytes)
 - Validate timestamps are non-zero and before year 2100
 - Implement pubkey evaluation in evaluate_stacks_predicate_on_non_consensus_events
 - Added comprehensive test suite covering valid/invalid pubkeys and timestamps
 - Resolve TODOs for signer message predicate validation and evaluation

 This change improves security by preventing invalid signer public keys
 and timestamps from entering the system during predicate validation.
 @rafaelcr @CharlieC3 @MicaiahReid @hugoclrd 

     - Add validation for StacksSignerMessagePredicate with pubkey and timestamp checks
     - Validate secp256k1 public keys (compressed 33 bytes, uncompressed 65 bytes)
     - Validate timestamps are non-zero and before year 2100
     - Implement pubkey evaluation in evaluate_stacks_predicate_on_non_consensus_events
     - Add comprehensive test suite covering valid/invalid pubkeys and timestamps
     - Resolve TODOs for signer message predicate validation and evaluation

     This change improves security by preventing invalid signer public keys
     and timestamps from entering the system during predicate validation.
@Marvy247
Copy link
Author

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.

1 participant