[Openid-specs-ab] jwe aes gcm in java

Mike, I implemented AESGCM in Java. The parameters for my example are: The keybytes are: byte[] N = Hex.decode(“cafebabefacedbaddecaf888”); The jweHeader is: {“alg”:“A128GCM”,“iv”:“yv66vvrO263eyviI”} AESGCM jwtHeaderSegment base64: eyJhbGciOiJBMTI4R0NNIiwiaXYiOiJ5djY2dnZyTzI2M2V5dmlJIn0 AESGCM jwtCryptoSegment base64: H7I-QNvM8VtMylQfBbbqyrT8xiFcVv-7CZTn-dkXr10dpIOmzjMbqjmbqevK2aAoRu4s5DhU8dbeu8SbRJTCDYYAkYfOo_Hc5NY6B5-VwhnOWc0sres Result JWE: eyJhbGciOiJBMTI4R0NNIiwiaXYiOiJ5djY2dnZyTzI2M2V5dmlJIn0.H7I-QNvM8VtMylQfBbbqyrT8xiFcVv-7CZTn-dkXr10dpIOmzjMbqjmbqevK2aAoRu4s5DhU8dbeu8SbRJTCDYYAkYfOo_Hc5NY6B5-VwhnOWc0sres The code is here: http://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap/json/WebToken.java The JUNIT tests are here: http://code.google.com/p/openinfocard/source/browse/trunk/testsrc/org/xmldap/json/WebTokenTest.java Maybe you could verify my example with your F# code. Rob: Could you please check with your php? Cheers Axel

via lists.openid.net

Posted via email from Notes for Digital Identities and Computing in the Cloud | Comment »

Mike Jones: self-issued » SWD, JWT, JWS, JWE, JWK, and OAuth JWT Profile specs updated

This checkin is intended to be the last set of individual submissions of the JWS, JWE, and JWK drafts before they are refactored and submitted to the JOSE WG as working group drafts. The primary changes requested by the JOSE WG but not yet done are to break the algorithm profiles and identifiers out into a new spec and to rework the terminology in the signature spec to use different terms for digital signature and HMAC integrity operations.

See the Document History sections of each document for a detailed description of the changes made. These documents are available at:

HTML-formatted versions are available at:

via self-issued.info

Posted via email from Notes for Digital Identities and Computing in the Cloud | Comment »

Useful phrases if you go to Korea...

How do I get there?
여기 어떻게 가요?
(Yeo-gee eo-tteok-ae ga-yo?)

I didn’t understand
못 알아 들었어요
(Mot al-a deul-ot-o-yo)


How much is it?

Can you recommend me something?
뭐 하나 추천해주시겠어요?
(Meo-ha-na chu-chun-hae-joo-shi-get-eo-yo?)

It’s delicious
(Ma-shit-eo-yo) or (ma-shi-eo-yo) either way you guys are comfortable with :)

I can only speak a little bit of Korean
한국어 조금만 할수 있어요
(Han-kook-eo jo-geum-man Hal-Soo-it-eo-yo)

Little- 조금 (jo-geum)
A lot- 많이 (man-ee)
Thank you- 감사합니다 (gam-sa-hap-nee-da)
It’s ok/it’s ok- 괜찮아요 (Gwen-chan-a-yo)
No- 싫어요 (used when you don’t want to do something) <shil-eo-yo> 아니요 (used when your just saying no to a question) <ah-nee-yo>
Yes- 네 (nae)
Your welcome- 천만해요 (chun-man-hae-yo)

Finally done with this one… Today’s might be a little hard to pronounce so I’ll go over it in the vid…. I put everything in here in formal because you don’t want to speak informal I Korea or else you’ll be mistaken as if you didn’t learn manners…always ask me more useful phrases that you guys thought about!

The real definition of kkaebsong

So the real definition of kkaebsong is

The original meaning of kkaebsong is ’kkab chuh suh jwe song hab ni da.’

Which means, ‘I’m sorry for kkab-ing.’ (kkab as in, act foolish, or acting out)

The word kkab-chuh isn’t a term you should use on tv, so the writers of the show told him to change the meaning.

If you watch the show back, you can see that this meaning makes more sense than the meaning he said. 

(Although now I think he uses it in different meanings because the fans know)

cr. blackdyo

Today A Kid On The Street Called Me Rachel Dolezal

This kid with his friends yells, “Lady looking like Rachel Dolezal!” I looked at him and SCREAMED into a laugh. I laughed so hard. He was confused for a sec, then he starts laughing real hard, as do his friends, and we’re all laughing so hard we start crying.

Brooklyn teenagers will never let you down. 

All us comedians need to give up because that kid just won comedy.

عن أبي سعيد الخدري، عن الرسول صلى الله عليه وسلم قال: “لتتبعُنَّ سَنَنَ من كان قبلَكم ، شبرًا بشبرٍ وذراعًا بذراعٍ ، حتى لو دخلوا جُحْرَ ضبٍّ تبعتُمُوهم”. قلنا : يا رسولَ اللهِ ، اليهودُ والنصارى ؟ قال : “فمَنْ” صحيح البخاري

Narrated Abu Sa`id Al-Khudri: The Prophet (ﷺ) said, “You will follow the ways of those nations who were before you, span by span and cubit by cubit (i.e., inch by inch) so much so that even if they entered a hole of a mastigure, you would follow them.” We said, “O Allah’s Messenger (ﷺ)! (Do you mean) the Jews and the Christians?” He said, “Whom else?” Sahih al-Bukhari 7320 In-book reference : Book 96, Hadith 50
USC-MSA web (English) reference : Vol. 9, Book 92, Hadith 422

#HaitianLivesMatter in the Caribbean (Labor Day) Carnival Parade | 📷 #JayEsPhotography

[9-7-15] Haitian organizers from the Coalition for Human Rights in the Dominican Republic march in the Caribbean (West Indian) Labor Day Carnival Parade in #Brooklyn NY to denounce the unjust denationalization of 200,000+ #Haitians and #Dominicans of Haitian-descent who are facing racist violence and deportations in the Dominican Republic.

Ayise Pa Jwe! (Haitians Don’t Play)
No more deportations, we want liberation!


See the rest of the photos here: https://flic.kr/s/aHskjqbrcE

‪#‎BlackLivesMatter‬ ‪#‎NoRacismoRD‬ ‪#‎HaitianLivesMatter‬ ‪#‎WestIndianParade‬ ‪#‎LaborDayParade‬
#streetphotographer #canonimages #photojournalism #photographers #nycphotographer #streetphotography #protestphotography #protests

Made with Instagram