Kshitij
91e0d50c0a
Implement AES-GCM file encryption per user
...
- EncryptionService uses PBKDF2 to derive a key from user password and salt.
- AES-GCM encryption with 128-bit tag and 12-byte IV.
- Ready for streaming encryption to/from HDFS without temp files.
2025-07-03 02:26:46 +05:30
Kshitij
39aa31625d
Add username validation and password breach check to signup
...
- Enforced alphanumeric-only usernames using regex validation.
- Passwords must be >= 8 chars and checked against haveibeenpwned.com.
- Improved SignupRequest DTO with validation annotations.
- Implemented UserService to handle password validation and encoding.
2025-07-03 02:26:30 +05:30
Kshitij
8ae2ced645
Harden ApplicationConfiguration with stronger BCrypt, cleanup, and security improvements
...
- Increased BCrypt password encoder strength to 12 for better hashing security.
- Switched to PasswordEncoder interface for flexibility (e.g., Argon2 support).
- Removed unused import (java.security.AuthProvider).
- Made all @Bean methods explicitly public.
- Added JavaDoc comments for better readability and maintainability.
- Improved exception message in UserDetailsService for clarity.
2025-07-03 02:01:05 +05:30
Kshitij
d3e1aff0fb
Fix: Downloading issue when deployed. Added a temp /Skycrate/downloaded directory and changed ownership to 1000:1000, this allows the file to be temporarily fetched to the server, then downloaded on client's site. Hoping to find a better (feasable) solution to this later.
2025-04-21 10:32:22 +05:30
Kshitij
18876f2780
Changed hdfs IP to docker container's hostname.
2025-04-20 20:51:01 +05:30
Kshitij
b41b1071e6
Changed port from 8080 to 8081 in application.properties and exposed 8081 in Dockerfile for ref.
2025-04-20 04:25:10 +05:30
Kshitij
c83898e34c
Forgot to change the target dir in Dockerfile, my bad 😅
2025-04-20 03:57:18 +05:30
Kshitij
769ac030b3
Updated username, host and changed password to env var for DB in application.properties.
2025-04-20 03:54:04 +05:30
Kshitij
3801a9b5c2
Added maven binary directory in gitignore.
2025-04-20 03:50:13 +05:30
Kshitij
152ada0bad
Added Dockerfile to build Docker image for backend.
2025-04-20 03:39:49 +05:30
vedang29
3b5736dc8e
Retrieve Username by Email
2025-04-18 16:54:42 +05:30
SonaliChaudhari
03bdb5d898
Implemented Encryption and Decryption Needed to be as saved Response
2025-04-18 00:28:45 +05:30
SonaliChaudhari
5cd396951d
MAIN CODE PUSHED ON MASTER BRANCH - NEED TO WORK ON ENCRYPTION AND DECRYPTION
2025-04-17 22:28:47 +05:30
Kshitij
45b4ac7208
Changed download file API part. Now it downloads the file in server and fetches it to client slide.
2025-04-15 21:22:53 +05:30
vedang29
89e6df1c4b
Changed CORS code & Alloed All origins
2025-04-15 02:49:46 +05:30
vedang29
293b73cf2a
Removed deprecated CORS errors
2025-04-15 02:41:21 +05:30
vedang29
bf6c93efd5
Changed CORS
2025-04-15 02:35:58 +05:30
vedang29
857a0bc40a
Merge pull request #1 from Lalit-h2/Addjwt
...
Added Signup and JWT Login
2025-04-14 23:02:57 +05:30
LalitH
3bc5cf3e62
Added Signup and JWT Login
2025-04-14 22:27:39 +05:30
vedang29
72bfd2eb0c
REST API for file management completed (without JWT)
2025-04-14 17:47:12 +05:30
vedang29
2b8c4491f5
Finally Its done quick quick quick
2025-04-14 03:40:31 +05:30
vedang29
3cd77346f7
Set up spring app with menu driven HDFS
2025-04-14 00:22:24 +05:30