gimer opened a new issue #44:
URL: https://github.com/apache/incubator-milagro-crypto-rust/issues/44


   Due to `:` in filenames, which windows treats as separator for 
[ADS](https://docs.microsoft.com/en-us/archive/blogs/askcore/alternate-data-streams-in-ntfs).
   
   Git is correctly checking out the files, but they are "invisible" in 
windows. Moreover git thinks the files have been removed:
   
   ```
   src> git status
   On branch develop
   Your branch is up to date with 'origin/develop'.
   
   Changes not staged for commit:
     (use "git add/rm <file>..." to update what will be committed)
     (use "git checkout -- <file>..." to discard changes in working directory)
   
           deleted:    
test_utils/hash_to_curve_vectors/BLS12381G1_XMD:SHA-256_SSWU_NU_.json
           deleted:    
test_utils/hash_to_curve_vectors/BLS12381G1_XMD:SHA-256_SSWU_RO_.json
           deleted:    
test_utils/hash_to_curve_vectors/BLS12381G2_XMD:SHA-256_SSWU_NU_.json
           deleted:    
test_utils/hash_to_curve_vectors/BLS12381G2_XMD:SHA-256_SSWU_RO_.json
           deleted:    
test_utils/hash_to_curve_vectors/edwards25519_XMD:SHA-512_ELL2_NU_.json
           deleted:    
test_utils/hash_to_curve_vectors/edwards25519_XMD:SHA-512_ELL2_RO_.json
   ```
   
   [sysinternals' 
streams](https://docs.microsoft.com/en-us/sysinternals/downloads/streams) tool 
shows the streams:
   ```
   src> streams.exe -s test_utils
   
   streams v1.60 - Reveal NTFS alternate streams.
   Copyright (C) 2005-2016 Mark Russinovich
   Sysinternals - www.sysinternals.com
   
   
c:\apache\incubator-milagro-crypto-rust\src\test_utils\hash_to_curve_vectors\BLS12381G1_XMD:
      :SHA-256_SSWU_NU_.json:$DATA 4430
      :SHA-256_SSWU_RO_.json:$DATA 6244
   
c:\apache\incubator-milagro-crypto-rust\src\test_utils\hash_to_curve_vectors\BLS12381G2_XMD:
      :SHA-256_SSWU_NU_.json:$DATA 7099
      :SHA-256_SSWU_RO_.json:$DATA 10398
   
c:\apache\incubator-milagro-crypto-rust\src\test_utils\hash_to_curve_vectors\edwards25519_XMD:
      :SHA-512_ELL2_NU_.json:$DATA 3602
      :SHA-512_ELL2_RO_.json:$DATA 4936
   ```
   
   Tools using winapi to open files should be able to open them, when given 
full path, i.e:
   ```
   src> notepad 
test_utils\hash_to_curve_vectors\edwards25519_XMD:SHA-512_ELL2_NU_.json
   src> gvim 
test_utils\hash_to_curve_vectors\edwards25519_XMD:SHA-512_ELL2_NU_.json
   ```
   
   If possible, I'd suggest renaming the files.
   (reserved characters list: 
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to