This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
With our definition of wrap == export + encrypt and unwrap == decrypt + import, any encryption/decryption algorithm can be used for wrap / unwrap.
There could be some complications with JWK import/export here. My understanding is that in JOSE, the sets of algorithms used for encryption and for key wrapping are disjoint (see e.g. A128GCM vs. A128GCMKW). This is not an objection, just something to consider.
This was apparently agreed in Shenzhen. There will be no custom padding defined for the case where the export step produces output of a size that the encryption algorithm does not support.
https://dvcs.w3.org/hg/webcrypto-api/rev/9542aa51a7c0