Skip to content

Commit

Permalink
Document that push KeyInfo elements are base64 encoded. Fixes #2069
Browse files Browse the repository at this point in the history
  • Loading branch information
mhammond committed Oct 16, 2023
1 parent e5a6dc1 commit a5aa8a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/push/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ impl PushManager {
}
}

/// Key Information that can be used to encrypt payloads
/// Key Information that can be used to encrypt payloads. These are encoded as base64
/// so will need to be decoded before they can actually be used as keys.
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct KeyInfo {
pub auth: String,
Expand Down

0 comments on commit a5aa8a5

Please sign in to comment.