Base64 or Base64url

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Base64 or Base64url

Benjamin ENTE
Hi everyone

I'm looking for an information I can't find.

I'm using OpenSSL 1.0.1e 11 Feb 2013 and I want to know if it's encoding in base64 or in base64url.

Thank you in advance for your help

Best regards

Benjamin


Benjamin ENTE
Ingénieur système et BDD
Services Infrastructure
71, Bd du Général Leclerc - 92583 Clichy cedex
Tel. +33(0)175338276 | Mobile. +33(0)678003942
[hidden email] 
www.cromology.com

Merci de penser à l'environnement avant d'imprimer ce message.



Reply | Threaded
Open this post in threaded view
|

AW: Base64 or Base64url

Dr. Matthias St. Pierre
OpenSSL is using regular base64 encoding, see for example
https://www.openssl.org/docs/man1.1.1/man3/EVP_EncodeInit.html

But if you need base64url encoding, no problem: a simple string replace will help.
https://brockallen.com/2014/10/17/base64url-encoding/

Regards,
Matthias


Von: openssl-users <[hidden email]> Im Auftrag von Benjamin ENTE
Gesendet: Freitag, 18. Oktober 2019 08:51
An: [hidden email]
Betreff: Base64 or Base64url

Hi everyone

I'm looking for an information I can't find.

I'm using OpenSSL 1.0.1e 11 Feb 2013 and I want to know if it's encoding in base64 or in base64url.

Thank you in advance for your help

Best regards

Benjamin



Benjamin ENTE
Ingénieur système et BDD
Services Infrastructure
71, Bd du Général Leclerc - 92583 Clichy cedex
Tel. +33(0)175338276 | Mobile. +33(0)678003942
mailto:%[hidden email]%22 
http://www.cromology.com/
Merci de penser à l'environnement avant d'imprimer ce message.


Reply | Threaded
Open this post in threaded view
|

AW: Base64 or Base64url

Dr. Matthias St. Pierre
In reply to this post by Benjamin ENTE

Just noticed your OpenSSL version: it is _very_ old and not supported anymore.

its successor, OpenSSL 1.0.2, will be EOL by the end of this year.

The current stable LTS version is OpenSSL 1.1.1.

 

Matthias

 

Von: openssl-users <[hidden email]> Im Auftrag von Benjamin ENTE
Gesendet: Freitag, 18. Oktober 2019 08:51
An: [hidden email]
Betreff: Base64 or Base64url

 

Hi everyone

 

I'm looking for an information I can't find.

I'm using OpenSSL 1.0.1e 11 Feb 2013 and I want to know if it's encoding in base64 or in base64url.

Thank you in advance for your help

Best regards

 

Benjamin

 

 

Benjamin ENTE
Ingénieur système et BDD
Services Infrastructure
71, Bd du Général Leclerc - 92583 Clichy cedex
Tel. +33(0)175338276 | Mobile. +33(0)678003942
[hidden email] 
www.cromology.com

Merci de penser à l'environnement avant d'imprimer ce message.

 

 

Reply | Threaded
Open this post in threaded view
|

AW: Base64 or Base64url

Dr. Matthias St. Pierre

P.S: My answer to your original question applies to 1.0.1 as well:

https://github.com/openssl/openssl/blob/OpenSSL_1_0_1-stable/doc/crypto/EVP_EncodeInit.pod

 

 

Von: openssl-users <[hidden email]> Im Auftrag von Dr. Matthias St. Pierre
Gesendet: Freitag, 18. Oktober 2019 09:10
An: Benjamin ENTE <[hidden email]>; [hidden email]
Betreff: AW: Base64 or Base64url

 

Just noticed your OpenSSL version: it is _very_ old and not supported anymore.

its successor, OpenSSL 1.0.2, will be EOL by the end of this year.

The current stable LTS version is OpenSSL 1.1.1.

 

Matthias

 

Von: openssl-users <[hidden email]> Im Auftrag von Benjamin ENTE
Gesendet: Freitag, 18. Oktober 2019 08:51
An: [hidden email]
Betreff: Base64 or Base64url

 

Hi everyone

 

I'm looking for an information I can't find.

I'm using OpenSSL 1.0.1e 11 Feb 2013 and I want to know if it's encoding in base64 or in base64url.

Thank you in advance for your help

Best regards

 

Benjamin

 

 

Benjamin ENTE
Ingénieur système et BDD
Services Infrastructure
71, Bd du Général Leclerc - 92583 Clichy cedex
Tel. +33(0)175338276 | Mobile. +33(0)678003942
[hidden email] 
www.cromology.com

Merci de penser à l'environnement avant d'imprimer ce message.

 

 

Reply | Threaded
Open this post in threaded view
|

RE: Base64 or Base64url

Benjamin ENTE
In reply to this post by Dr. Matthias St. Pierre
Thank you for your answer.

I know, my version is old and I need to update (and I will). It's installed on IBM AIX server.

I was not precise enough in my question, I need to have base64url natively supported for a certification purpose.

I'm using openssl in some bash scripts, I can easily replace characters to bypass the problem of / and + but I don't think I will be authorized to do so.

Is there any other options ?

Best regards



Benjamin ENTE
Ingénieur système et BDD
Services Infrastructure
71, Bd du Général Leclerc - 92583 Clichy cedex
Tel. +33(0)175338276 | Mobile. +33(0)678003942
[hidden email] 
www.cromology.com

Merci de penser à l'environnement avant d'imprimer ce message.




De : Dr. Matthias St. Pierre <[hidden email]>
Envoyé : vendredi 18 octobre 2019 09:10
À : Benjamin ENTE <[hidden email]>; [hidden email] <[hidden email]>
Objet : AW: Base64 or Base64url
 

Just noticed your OpenSSL version: it is _very_ old and not supported anymore.

its successor, OpenSSL 1.0.2, will be EOL by the end of this year.

The current stable LTS version is OpenSSL 1.1.1.

 

Matthias

 

 

NCP engingeering GmbH Dr. Matthias St. Pierre

Senior Software Engineer
[hidden email]
Phone: +49 911 9968-0
www.ncp-e.com


Follow us on:
 Facebook | Twitter | Xing | YouTube | LinkedIn

Headquarters Germany: NCP engineering GmbH • Dombuehler Str. 2 • 90449 • Nuremberg
North American HQ: NCP engineering Inc. • 678 Georgia Ave. • Sunnyvale, CA 94085
East Coast Office: NCP engineering Inc. • 601 Cleveland Str., Suite 501-25 • Clearwater, FL 33755

Authorized representatives: Peter Soell, Patrick Oliver Graf, Beate Dietrich
Registry Court: Lower District Court of Nuremberg
Commercial register No.: HRB 7786 Nuremberg, VAT identification No.: DE 133557619

This e-mail message including any attachments is for the sole use of the intended recipient(s) and may contain privileged or confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof.

Von: openssl-users <[hidden email]> Im Auftrag von Benjamin ENTE
Gesendet: Freitag, 18. Oktober 2019 08:51
An: [hidden email]
Betreff: Base64 or Base64url

 

Hi everyone

 

I'm looking for an information I can't find.

I'm using OpenSSL 1.0.1e 11 Feb 2013 and I want to know if it's encoding in base64 or in base64url.

Thank you in advance for your help

Best regards

 

Benjamin

 

 

Benjamin ENTE
Ingénieur système et BDD
Services Infrastructure
71, Bd du Général Leclerc - 92583 Clichy cedex
Tel. +33(0)175338276 | Mobile. +33(0)678003942
[hidden email] 
www.cromology.com

Merci de penser à l'environnement avant d'imprimer ce message.