Good morning guys, for this
issue https://issues.jboss.org/browse/AGPUSH-358. I was
revisiting the whole UPS code and thinking about include two fields for iOSVariant class:
skey (secret key) and pKey (public key). What’s the idea?
1. Each application has its own key pair
2. Before the addition of the iOS variant, the client sends a request asking for the
public keys
3. The server sends an HTTP response with the public key for encryption
4. The client make use of the public key to encrypt the certificate + the passphrase
5. Server stores it encrypted
6. When necessary to send push messages, the server make use of the private key to decrypt
that data and send fancy messages.
Does it make sense to you?
--
abstractj
JBoss, a division of Red Hat