Re: Barcode

2020-03-21 Thread stardata.info via 4D_Tech

Some free font bar code, accept only numeric characters.

Ferdinando


Il 21/03/20 20:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 6
Date: Fri, 20 Mar 2020 23:41:00 +
From: Keisuke Miyako
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Barcode
Message-ID:<40ca229a-034a-4e28-bc82-fab803a3e...@4d.com>
Content-Type: text/plain; charset="utf-8"

it seems like on some versions of 4D (for Mac),
an invisible character is appended at the end for alignment.

that would screw up the barcode data.

2020/03/21 2:01、Lee Hinde via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
But we ended up using hmBarcode because the free fonts didn't work 
with new scanners that the client got.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HMAC SHA256 in native 4D code (JWT)

2020-03-21 Thread Lee Hinde via 4D_Tech
Thanks.


> On Mar 21, 2020, at 8:24 AM, Bruno LEGAY via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi,
> 
> The component is now on github :
> 
>   https://github.com/blegay/jwt_component
> 
> Bruno LEGAY
> A Consulting

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HMAC SHA256 in native 4D code (JWT)

2020-03-21 Thread Bruno LEGAY via 4D_Tech
Hi,

The component is now on github :

https://github.com/blegay/jwt_component

Bruno LEGAY
A Consulting

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HMAC SHA256 in native 4D code

2020-03-21 Thread Two Way Communications via 4D_Tech
Hi Bruno,

Thank you very much.
This does in fact generate the correct JWT.

I did check where the differences are,  comparing to my code:
Apparently, when using the php function ‘hash_hmac’, or when using Openssl 
through LEP, I get another signature than the one I get from your component.

I am not sure why that is, since the input is exactly the same. 

Anyway, a big thanks. I spent hours trying to generate the JWT with the php / 
openssl and couldn’t figure it out.


Can anyone explain why the results are different? Because I would really like 
to know.


Regards,

Rudy Mortier
Two Way Communications bvba 



> On 21 Mar 2020, at 08:49, Bruno LEGAY via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi Ruby,
> 
> I sent you a component which does HMAC 256 and JWT object signing.
> It is all native.
> 
> Lets us know if it works.
> 
> Bruno LEGAY
> A Consulting
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HMAC SHA256 in native 4D code

2020-03-21 Thread Bruno LEGAY via 4D_Tech
Hi Ruby,

I sent you a component which does HMAC 256 and JWT object signing.
It is all native.

Lets us know if it works.

Bruno LEGAY
A Consulting

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**